Eliassen.AI.Abstractions 0.1.81

There is a newer version of this package available.
See the version list below for details.
dotnet add package Eliassen.AI.Abstractions --version 0.1.81                
NuGet\Install-Package Eliassen.AI.Abstractions -Version 0.1.81                
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.81" />                
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.81                
#r "nuget: Eliassen.AI.Abstractions, 0.1.81"                
#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.81

// Install Eliassen.AI.Abstractions as a Cake Tool
#tool nuget:?package=Eliassen.AI.Abstractions&version=0.1.81                

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 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.

Version Downloads Last updated
0.1.85 50 10/10/2024
0.1.84 42 10/10/2024
0.1.83 48 9/27/2024
0.1.82 201 8/23/2024
0.1.81 168 8/1/2024
0.1.81-dev-gh-pipline.3 48 8/1/2024