APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kindstring
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadataobject
specobject
ModelConfigSpec defines the desired state of ModelConfig.
anthropicobject
Anthropic-specific configuration
baseUrlstring
Base URL for the Anthropic API (overrides default)
maxTokensinteger
Maximum tokens to generate
temperaturestring
Temperature for sampling
topKinteger
Top-k sampling parameter
topPstring
Top-p sampling parameter
anthropicVertexAIobject
Anthropic-specific configuration
locationstringrequired
The project location
maxTokensinteger
Maximum tokens to generate
projectIDstringrequired
The project ID
stopSequences[]string
Stop sequences
temperaturestring
Temperature
topKstring
Top-k sampling parameter
topPstring
Top-p sampling parameter
apiKeySecretKeystring
The key in the secret that contains the API key
apiKeySecretRefstring
The reference to the secret that contains the API key. Must be a reference to the name of a secret in the same namespace as the referencing ModelConfig
azureOpenAIobject
Azure OpenAI-specific configuration
apiVersionstringrequired
API version for the Azure OpenAI API
azureAdTokenstring
Azure AD token for authentication
azureDeploymentstring
Deployment name for the Azure OpenAI API
azureEndpointstringrequired
Endpoint for the Azure OpenAI API
maxTokensinteger
Maximum tokens to generate
temperaturestring
Temperature for sampling
topPstring
Top-p sampling parameter
defaultHeadersobject
geminiobject
Gemini-specific configuration
geminiVertexAIobject
Gemini Vertex AI-specific configuration
candidateCountinteger
Candidate count
locationstringrequired
The project location
maxOutputTokensinteger
Maximum output tokens
projectIDstringrequired
The project ID
responseMimeTypestring
Response mime type
stopSequences[]string
Stop sequences
temperaturestring
Temperature
topKstring
Top-k sampling parameter
topPstring
Top-p sampling parameter
modelstringrequired
modelInfoobject
ModelInfo contains information about the model.
This field is required if the model is not one of the
pre-defined autogen models. That list can be found here:
ModelConfigStatus defines the observed state of ModelConfig.
conditions[]objectrequired
lastTransitionTimestringrequired
lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format: date-time
messagestringrequired
message is a human readable message indicating details about the transition.
This may be an empty string.
maxLength: 32768
observedGenerationinteger
observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance.
format: int64
minimum: 0
reasonstringrequired
reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty.
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
minLength: 1
maxLength: 1024
statusstringrequired
status of the condition, one of True, False, Unknown.
enum: True, False, Unknown
typestringrequired
type of condition in CamelCase or in foo.example.com/CamelCase.