MistralAI.Client

Features

  • Complete API Coverage: Chat completions, embeddings, models, files, fine-tuning, batch jobs, and more
  • Streaming Support: Real-time streaming for chat completions using IAsyncEnumerable
  • Function Calling: Full support for tool/function calling
  • Dependency Injection: Built-in support for IHttpClientFactory and Microsoft.Extensions.DependencyInjection
  • Async/Await: Fully asynchronous API with cancellation token support
  • Strongly Typed: Complete type definitions for all API requests and responses

Installation

# Package Manager
Install-Package MistralAI.Client

# .NET CLI
dotnet add package MistralAI.Client