AIGatewayTargetModelMistralConfig
objectMistral-specific configuration for a model.
The number of dimensions for embedding outputs.
The maximum number of tokens to generate in the response.
Cost per input token for billing and cost tracking.
Cost per output token for billing and cost tracking.
Controls randomness in the model output. Higher values produce more varied responses.
Limits the number of highest-probability tokens considered during generation.
Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
The upstream URL for the model endpoint.
Allowed values:mistral
The request format to use when communicating with the Mistral model.
Allowed values:ollamaopenai
AIGatewayManagedBy
objectIndicates the managing entities for a resource. A maximum of 5 keys is allowed.
Keys must be 63 characters or less, starting and ending with an alphanumeric character,
and may include dashes (-), underscores (_), and dots (.).
Values must be non-empty strings of 127 characters or less.
Keys and values must not contain spaces or control characters, and are case-insensitive.
AIGatewayACLS
objectList of consumer group names permitted access.
List of consumer group names denied access.
AIGatewayPolicyReference
objectLightweight object used to reference a policy instance, identified by its ref.
The user-defined unique identifier for a policy instance.
Example:ai-pii-sanitizer-1234
CreateAIGatewayPolicyRequest
objectThe display name for this policy instance.
Example:My Cool AI PII Sanitizer Policy
A user-defined unique identifier for this policy instance, used as a stable human-readable reference.
Example:ai-pii-sanitizer-1234
The type of the policy. Some examples are: ‘ai-sanitizer’, ‘ai-prompt-guard’,
and ‘openid-connect’.
Example:ai-sanitizer
Whether the policy is enabled.
Example:true
Configuration for the policy. The structure varies depending on the policy type.
Example:{"anonymize":["phone","creditcard"],"stop_on_error":true}
Public labels store information about an entity that can be used for filtering a list of objects.
Public labels are intended to store PUBLIC metadata.
Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.
Example:{"category":"finance"}
Indicates the managing entities for a resource. A maximum of 5 keys is allowed.
Keys must be 63 characters or less, starting and ending with an alphanumeric character,
and may include dashes (-), underscores (_), and dots (.).
Values must be non-empty strings of 127 characters or less.
Keys and values must not contain spaces or control characters, and are case-insensitive.
Example:{"team":"platform","owner":"kong"}