Installation
Contents
[
Hide
]
Aspose.LLM for .NET is distributed as a NuGet package. You also need the Aspose.LLM.Abstractions package for presets and parameter types (it is usually pulled in as a dependency of Aspose.LLM).
NuGet
- Open your solution in Visual Studio (or your IDE).
- Add the Aspose.LLM package to the project:
- Package Manager UI: Browse for “Aspose.LLM” and install.
- Package Manager Console: run
Install-Package Aspose.LLM
- Restore packages. The Aspose.LLM and Aspose.LLM.Abstractions assemblies will be available to your project.
To update to a newer version, use the NuGet UI or run Update-Package Aspose.LLM in the Package Manager Console.
After installation
- Reference
Aspose.LLMandAspose.LLM.Abstractionsin your code. - Apply a license before using the API (or run in evaluation mode).
- Use a preset to create an
AsposeLLMApiinstance and run the Hello, world! example.