Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ModelInfo ¶
type ModelInfo struct {
ID string `json:"id"`
Created int64 `json:"created"`
Object string `json:"object"`
OwnedBy string `json:"owned_by"`
}
ModelInfo represents the information about a single model
type ModelListResponse ¶
ModelListResponse represents the overall response structure
func BuildModelsResponse ¶
func BuildModelsResponse(modelNames []string) ModelListResponse
BuildModelsResponse converts a list of model names to the target response type
Click to show internal directories.
Click to hide internal directories.