mistral

package
v0.4.12-gateway.dev3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const EmbeddingProviderMistralName = "mistral"

Variables

This section is empty.

Functions

This section is empty.

Types

type EmbeddingProviderMistral

type EmbeddingProviderMistral struct {
	APIKey string `koanf:"apiKey" env:"MISTRAL_API_KEY" export:"false"`
	Model  string `koanf:"model" env:"MISTRAL_MODEL" export:"required"`
}

func (*EmbeddingProviderMistral) Config

func (p *EmbeddingProviderMistral) Config() any

func (*EmbeddingProviderMistral) Configure added in v0.3.0

func (p *EmbeddingProviderMistral) Configure() error

func (*EmbeddingProviderMistral) EmbeddingFunc

func (p *EmbeddingProviderMistral) EmbeddingFunc() (cg.EmbeddingFunc, error)

func (*EmbeddingProviderMistral) Name

func (p *EmbeddingProviderMistral) Name() string

Jump to

Keyboard shortcuts

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