Documentation
¶
Overview ¶
Package mistral is a direct (non-Vertex) provider for the Mistral API (api.mistral.ai), which speaks the OpenAI-compatible chat/completions format. It reuses the shared chatcompletions codec; only the transport (API-key auth, vendor base URL) is Mistral-specific.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMistralProvider ¶
func NewMistralProvider(apiKey, modelName string, backendURLs []string, capability modelrepo.CapabilityConfig, httpClient *http.Client, tracker libtracker.ActivityTracker) modelrepo.Provider
NewMistralProvider returns a modelrepo.Provider for the direct Mistral API.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.