oai_models
autogen.oai.oai_models.ChatCompletion
ChatCompletion
Usage docs: https://docs.pydantic.dev/2.10/concepts/models/
A base class for creating Pydantic models.
Name | Description |
---|---|
**data | Type: Any |
Class Attributes
choices
A list of chat completion choices.
Can be more than one if n
is greater than 1.
config_id
cost
created
The Unix timestamp (in seconds) of when the chat completion was created.
id
A unique identifier for the chat completion.
message_retrieval_function
model
The model used for the chat completion.
model_config
object
The object type, which is always chat.completion
.
pass_filter
service_tier
The service tier used for processing the request.
system_fingerprint
This fingerprint represents the backend configuration that the model runs with.
Can be used in conjunction with the seed
request parameter to understand when
backend changes have been made that might impact determinism.
usage
Usage statistics for the completion request.