| package dto |
|
|
| import "github.com/QuantumNous/new-api/constant" |
|
|
| |
| type OpenAIModels struct { |
| Id string `json:"id"` |
| Object string `json:"object"` |
| Created int `json:"created"` |
| OwnedBy string `json:"owned_by"` |
| SupportedEndpointTypes []constant.EndpointType `json:"supported_endpoint_types"` |
| } |
|
|
| type AnthropicModel struct { |
| ID string `json:"id"` |
| CreatedAt string `json:"created_at"` |
| DisplayName string `json:"display_name"` |
| Type string `json:"type"` |
| } |
|
|
| type GeminiModel struct { |
| Name interface{} `json:"name"` |
| BaseModelId interface{} `json:"baseModelId"` |
| Version interface{} `json:"version"` |
| DisplayName interface{} `json:"displayName"` |
| Description interface{} `json:"description"` |
| InputTokenLimit interface{} `json:"inputTokenLimit"` |
| OutputTokenLimit interface{} `json:"outputTokenLimit"` |
| SupportedGenerationMethods []interface{} `json:"supportedGenerationMethods"` |
| Thinking interface{} `json:"thinking"` |
| Temperature interface{} `json:"temperature"` |
| MaxTemperature interface{} `json:"maxTemperature"` |
| TopP interface{} `json:"topP"` |
| TopK interface{} `json:"topK"` |
| } |
|
|