go.bigb.es/claudio

v0.6.2
Doc Versions Source

Functions

f func CategorizeModels

src
func CategorizeModels(models []Model) ([]string, map[string][]Model)

Types

T type Model

src
type Model struct {
	ID                string `json:"id"`
	Created           int64  `json:"created"`
	CreatedAt         string `json:"created_at"`
	Object            string `json:"object"`
	DisplayName       string `json:"display_name"`
	Type              string `json:"type"`
	ContextLength     int    `json:"context_length"`
	SupportsReasoning bool   `json:"supports_reasoning"`
	SupportsImageIn   bool   `json:"supports_image_in"`
	SupportsVideoIn   bool   `json:"supports_video_in"`
}

f func ListModels

src
func ListModels(baseURL, apiKey string) ([]Model, error)

m func (Model) GetName

src
func (m Model) GetName() string

Source Files