Product overview
Contents
[
Hide
]
Aspose.LLM for .NET is a library for integrating large language models (LLMs) into your .NET applications. You run models on your own infrastructure (on-premise or controlled cloud) and interact with them through a simple API: create an instance from a preset, start chat sessions, send messages, and optionally save or load conversation state.
Why Aspose.LLM?
- Preset-based setup — Use built-in presets for popular models (Qwen 2.5, Qwen 3, Gemma, Llama, Phi, and others) or customize parameters via
PresetCoreBase. - Chat sessions — Start a new chat with
StartNewChatAsync, send messages withSendMessageAsyncorSendMessageToSessionAsync, and keep multi-turn conversations. - Session persistence — Save and load chat sessions to disk with
SaveChatSessionandLoadChatSessionto resume conversations later. - Optional multimodal input — Pass optional media (e.g. image bytes) with messages for vision-capable presets.
- Single instance — One
AsposeLLMApiinstance per process; create it withAsposeLLMApi.Create(preset). - Licensing — Apply a license with
License.SetLicense; check status withLicense.IsLicensed.
Capabilities
- Supported presets
Overview of built-in presets (text and vision) and model sources.