Eliassen.AI.Abstractions
0.1.85
This package has a SemVer 2.0.0 package version: 0.1.85+2.
dotnet add package Eliassen.AI.Abstractions --version 0.1.85
NuGet\Install-Package Eliassen.AI.Abstractions -Version 0.1.85
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="Eliassen.AI.Abstractions" Version="0.1.85" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Eliassen.AI.Abstractions --version 0.1.85
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Eliassen.AI.Abstractions, 0.1.85"
#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.
// Install Eliassen.AI.Abstractions as a Cake Addin #addin nuget:?package=Eliassen.AI.Abstractions&version=0.1.85 // Install Eliassen.AI.Abstractions as a Cake Tool #tool nuget:?package=Eliassen.AI.Abstractions&version=0.1.85
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Eliassen.AI.Abstractions
Summary
This library contains the abstract definitions for interfacing with ML/AI such as sentence embeddings and language models.
Notes
This document outlines the Eliassen.AI namespace, detailing three key classes:
AI.IEmbeddingProvider:
- Represents a provider for word embeddings.
- Length: Retrieves the length of the embeddings.
- GetEmbeddingAsync(content): Retrieves the embedding vector for the given content. Takes content as input and returns an array of single-precision floats representing the embedding vector.
AI.ILanguageModelProvider:
- Represents a provider for a language model.
- GetResponseAsync(promptDetails, userInput): Retrieves a response from the language model based on provided prompt details and user input. Takes prompt details and user input as inputs and returns a response from the language model.
AI.IMessageCompletion:
- Represents a provider for message completion.
- GetCompletionAsync(modelName, prompt): Retrieves a completion for the given prompt from the specified model. Takes model name and prompt as inputs and returns the completion for the prompt.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Eliassen.AI.Abstractions:
Package | Downloads |
---|---|
Eliassen.GroqCloud
Package Description |
|
Eliassen.Search
Package Description |
|
Eliassen.SBert
Package Description |
|
Eliassen.Ollama
Package Description |
|
Eliassen.Qdrant
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.