package
1.0.9
Repository: https://github.com/mutablelogic/go-client.git
Documentation: pkg.go.dev

# README

Mistral API Client

This package provides a client for Mistral API, which is used to interact with the Mistral LLM models.

References:

# Functions

Create a new client.
Set the embedding encoding format.
Set the maximum number of tokens.
Set the model.
Inject a safety prompt before all conversations.
The seed to use for random sampling.
Set streaming response.
Amount of randomness injected into the response.
A list of tools the model may call.

# Structs

No description provided by the author

# Type aliases

Callback when new stream data is received.
Opt is a function which can be used to set options on a request.