Partager via


MistralAIServiceCollectionExtensions Class

Definition

Provides extension methods for the IServiceCollection interface to configure Mistral connectors.

public static class MistralAIServiceCollectionExtensions
type MistralAIServiceCollectionExtensions = class
Public Module MistralAIServiceCollectionExtensions
Inheritance
MistralAIServiceCollectionExtensions

Methods

AddMistralChatCompletion(IServiceCollection, String, String, Uri, String)

Adds an Mistral chat completion service with the specified configuration.

AddMistralTextEmbeddingGeneration(IServiceCollection, String, String, Uri, String)

Adds an Mistral text embedding generation service with the specified configuration.

Applies to