Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultModel = "gpt-4.1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssistantObject ¶
type AssistantObject struct {
ID string `json:"id"`
}
type Error ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error *Error `json:"error,omitEmpty"`
}
type GenericObject ¶
type GenericObject struct { // "list" | "model" Object string `json:"object"` // TODO: should be any? Data []GenericObject `json:"data"` ID string `json:"id"` Created int64 `json:"created"` OwnedBy string `json:"owned_by"` }
type ListAssistantsResponse ¶
type ListAssistantsResponse struct {
Data []AssistantObject `json:"data"`
}
type ListModelsResponse ¶
type ListModelsResponse struct {
Data []Model `json:"data"`
}
type OpenAPISpec ¶
type OpenAPISpec struct { Components struct { Schemas struct { AssistantSupportedModels struct { Enum []string `yaml:"enum"` } `yaml:"AssistantSupportedModels"` } `yaml:"schemas"` } `yaml:"components"` }
Click to show internal directories.
Click to hide internal directories.