mistral

package
v0.32.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL