VeloraAI 1.0.2
dotnet add package VeloraAI --version 1.0.2
NuGet\Install-Package VeloraAI -Version 1.0.2
<PackageReference Include="VeloraAI" Version="1.0.2" />
<PackageVersion Include="VeloraAI" Version="1.0.2" />
<PackageReference Include="VeloraAI" />
paket add VeloraAI --version 1.0.2
#r "nuget: VeloraAI, 1.0.2"
#:package VeloraAI@1.0.2
#addin nuget:?package=VeloraAI&version=1.0.2
#tool nuget:?package=VeloraAI&version=1.0.2
๐ VeloraAI is a modern and flexible C# library designed to simplify local LLM integration. It allows developers to interact with quantized AI models directly from .NET 8.0 applications โ with a single line of code. Whether you're building chatbots, creative tools, or AI companions, VeloraAI is optimized for speed, reliability, and customization.
โจ Features
- โก Quick-Start Model Loading โ Choose from pre-integrated models or load your own via
TestingMode
. - ๐ง Support for Multiple Models โ CrystalThink, Qwen, Mistral, DeepSeek, Llama and more.
- ๐ Event-driven Response System โ React to
TextGenerated
,ResponseStarted
, andResponseEnded
in real-time. - ๐ Customizable System Prompts โ Use friendly or aggressive instruction styles (e.g.,
NoBSMode
). - ๐ฆ Model Downloader โ Automatically fetches models from Hugging Face if not already available.
- ๐ท Experimental Vision Mode โ Send image + prompt for visual reasoning (WIP).
๐งฑ Built With
- LLamaSharp โ Backbone inference engine.
- .NET 8.0 โ Modern C# support.
- WinForms & Console โ Sample UI and CLI clients included.
๐ Models Available
Model | Size | Strengths |
---|---|---|
Crystal_Think_V2_Q4 | 2.32 GB | ๐ฅ Fast, tiny, math-heavy reasoning, Chain-of-Thought format |
Qwen_V3_4B_Chat | 2.70 GB | ๐ฅ Fast general model with good code and reasoning |
Mistral_7B_Chat | 2.87 GB | ๐ฅ Informative and precise longer-form chat |
Llama_7B_Chat | 3.07 GB | Reliable general conversations |
DeepSeek_6B_Coder | 3.07 GB | Code generation, math-only |
DeepSeek_7B_Chat | 5.28 GB | Slower general chat, strong context retention |
๐ง Usage
1. Authenticate and Start Chatting
var result = await VeloraAI.AuthenticateAsync(VeloraAI.Models.Crystal_Think_V2_Q4);
if (result == VeloraAI.AuthState.Authenticated)
{
await VeloraAI.AskAsync("What is the capital of France?");
}
2. Hook Into Events
VeloraAI.TextGenerated += (_, text) => Console.Write(text);
VeloraAI.ResponseStarted += (_, __) => Console.WriteLine("\n[VELORA is typing...]");
VeloraAI.ResponseEnded += (_, __) => Console.WriteLine("\n\n[Done]");
3. Use Custom Models
VeloraAI.TestingMode = true;
VeloraAI.TestingModelPath = @"C:\path\to\your_model.gguf";
await VeloraAI.AuthenticateAsync(VeloraAI.Models.TestingModel);
โ๏ธ Advanced Prompt Modes
Friendly Assistant (Default)
Follows a natural conversational tone with emojis and personality.
NoBS Mode
Blunt, hyper-logical response style with no emotional overhead or filler.
await VeloraAI.AuthenticateAsync(VeloraAI.Models.Crystal_Think_V2_Q4, NoBSMode: true);
๐ฅ Model Auto-Download
Models are downloaded on first use to:
%APPDATA%/VeloraAI
Progress can be tracked using:
VeloraAI.CurrentDownloadProgress;
๐ Reset History
VeloraAI.ResetHistory(); // or use custom system prompt
๐ฏ Custom Inference Parameters
You can fine-tune Velora's behavior using the following optional parameters in AskAsync
:
Parameter | Description | Recommended for Speed |
---|---|---|
Temperature |
Controls randomness (lower = more deterministic) | 0.2 - 0.3 |
TopP |
Nucleus sampling threshold | 0.0 - 0.3 |
TopK |
Limits token pool to top-K options | 0 for fastest |
RepeatPenalty |
Penalizes repetition | 1.05 - 1.2 |
MaxTokens |
Maximum tokens to generate | 80 - 128 |
await VeloraAI.AskAsync(
prompt: "Summarize this paragraph.",
temperature: 0.25f,
TopP: 0.2f,
TopK: 0,
RepeatPenalty: 1.1f,
maxTokens: 80
);
๐ ๏ธ Contributing
Pull requests are welcome! Please submit improvements, optimizations, or new model integrations.
๐ License
MIT
๐ฌ Example Console Output
Authenticating model...
Authentication result: Authenticated
> What is 21 * 2?
[VELORA is typing...]
42
[Done]
๐งช Credits
- Developed by voidZiAD
- Powered by LLamaSharp, GGUF models, and the C#/.NET 8.0 ecosystem
๐ Links
๐ง "VELORA" Personality
"I'm VELORA โ not just another chatbot. I'm here to help you code, reason, and think clearer. No nonsense, just clarity."
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- LLamaSharp (>= 0.24.0)
- LLamaSharp.Backend.Cpu (>= 0.24.0)
- System.Text.Json (>= 9.0.6)
-
net8.0
- LLamaSharp (>= 0.24.0)
- LLamaSharp.Backend.Cpu (>= 0.24.0)
- System.Text.Json (>= 9.0.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.