go.bigb.es/claudio
Index
Constants
const EnterByHandCategory = "✏ Enter model ID"
Functions
func AllModelIDs(models []NIMModel) map[string]bool
AllModelIDs returns a set of all model IDs for validation.
func CategorizeModels(models []NIMModel) ([]string, map[string][]NIMModel)
CategorizeModels groups models into Featured, Popular, Newest, and Enter by hand categories.
func GroupPopularByProvider(models []NIMModel) ([]string, map[string][]NIMModel)
GroupPopularByProvider groups popular models by their provider prefix.
Types
type NIMModel struct { ID string `json:"id"` Object string `json:"object"` Created float64 `json:"created"` OwnedBy string `json:"owned_by"` }
NIMModel represents a model available via the NVIDIA NIM API.
func FilterChatModels(models []NIMModel) []NIMModel
FilterChatModels returns only models suitable for chat/coding use.
func ListModels(apiKey string) ([]NIMModel, error)
ListModels fetches available models from the NVIDIA NIM API.
EnterByHandCategory is the special category label for manual model ID entry.