Show / Hide Table of Contents

Interface ILLM

An interface implemented by all LLM provider classes.

Namespace: Quantellia.WMServer.Asset.LLM
Assembly: WMServer.dll
Syntax
public interface ILLM

Properties

LLMData

The WMLLM object containing the metadata for ILLM derived classes.

Declaration
WMLLM LLMData { get; set; }
Property Value
Type Description
WMLLM

Methods

GetEmbeddings(object[])

Converts the source objects into an array of vectors (embeddings).

Declaration
Task<float[][]> GetEmbeddings(object[] sources)
Parameters
Type Name Description
object[] sources

The source objects to determine an embedding for.

Returns
Type Description
Task<float[][]>
Exceptions
Type Condition
NotImplementedException

StartConversation()

Will create an ILLMConversation derived type specific to the derived type this method is called on. Populates all necessary properties on the ILLMConversation and returns it.

Declaration
Task<ILLMConversation> StartConversation()
Returns
Type Description
Task<ILLMConversation>
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE