AugusteVN.Modules.VirtualAssistant._Shared
1.0.0
See the version list below for details.
dotnet add package AugusteVN.Modules.VirtualAssistant._Shared --version 1.0.0
NuGet\Install-Package AugusteVN.Modules.VirtualAssistant._Shared -Version 1.0.0
<PackageReference Include="AugusteVN.Modules.VirtualAssistant._Shared" Version="1.0.0" />
<PackageVersion Include="AugusteVN.Modules.VirtualAssistant._Shared" Version="1.0.0" />
<PackageReference Include="AugusteVN.Modules.VirtualAssistant._Shared" />
paket add AugusteVN.Modules.VirtualAssistant._Shared --version 1.0.0
#r "nuget: AugusteVN.Modules.VirtualAssistant._Shared, 1.0.0"
#:package AugusteVN.Modules.VirtualAssistant._Shared@1.0.0
#addin nuget:?package=AugusteVN.Modules.VirtualAssistant._Shared&version=1.0.0
#tool nuget:?package=AugusteVN.Modules.VirtualAssistant._Shared&version=1.0.0
AugusteVN.Modules.VirtualAssistant._Shared
Shared DTOs for the VirtualAssistant module — request/response contracts for Ollama LLM inference and model discovery.
Part of the AugusteVN Modules collection.
Overview
This package defines the client-side contracts consumed by VirtualAssistant._Shared.Spa. There is no server-side Api, Database, or Features project — the VirtualAssistant module is a client-side-only integration with a local Ollama instance.
No ApiRoutes are defined since this module has no REST API layer.
Types
GenerateRequest
Request payload for Ollama text generation:
| Property | Type | Default | Description |
|---|---|---|---|
HostUrl |
string |
— | Ollama server URL (e.g. http://localhost:11434) |
Model |
string |
— | Model name to use for generation (e.g. llama3.1) |
Prompt |
string |
— | The user prompt to send to the model |
Images |
string[]? |
null |
Optional base64-encoded images for multimodal models |
Stream |
bool |
true |
Whether to stream the response token-by-token |
Context |
int[]? |
null |
Optional context array for conversation continuity |
GenerateResponse
Response from Ollama text generation (accumulated across streaming chunks):
| Property | Type | Description |
|---|---|---|
Prompt |
string |
The original prompt that generated this response |
Model |
string |
Model name that produced the response |
Response |
string |
Full generated text (accumulated from stream) |
Done |
bool |
Whether generation is complete |
Context |
int[]? |
Context tokens for follow-up prompts |
CompletedAt |
DateTime? |
Timestamp when generation completed |
ModelResponse
Represents a locally available Ollama model:
| Property | Type | Description |
|---|---|---|
Name |
string |
Model name (e.g. llama3.1, codellama) |
Size |
long |
Model size in bytes |
Installation
dotnet add package AugusteVN.Modules.VirtualAssistant._Shared
Full Documentation
See the VirtualAssistant Module README for complete documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AugusteVN.Modules.VirtualAssistant._Shared:
| Package | Downloads |
|---|---|
|
AugusteVN.Modules.VirtualAssistant._Shared.Spa
Blazor chat interface for Ollama LLM integration |
GitHub repositories
This package is not used by any popular GitHub repositories.