VeloraAI 1.0.2

dotnet add package VeloraAI --version 1.0.2
                    
NuGet\Install-Package VeloraAI -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VeloraAI" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VeloraAI" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="VeloraAI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add VeloraAI --version 1.0.2
                    
#r "nuget: VeloraAI, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package VeloraAI@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=VeloraAI&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=VeloraAI&version=1.0.2
                    
Install as a Cake Tool

๐Ÿš€ 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, and ResponseEnded 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


๐Ÿง  "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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 127 6/29/2025
1.0.0 127 6/29/2025