Show / Hide Table of Contents

Class ChatGPT

OpenAI implementation of the ILLM interface.

Inheritance
object
ChatGPT
Implements
ILLM
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.Asset.LLM
Assembly: WMServer.dll
Syntax
public class ChatGPT : ILLM

Constructors

ChatGPT(WMLLM)

Standard constructor for IEmbeddingClient interface

Declaration
public ChatGPT(WMLLM asset)
Parameters
Type Name Description
WMLLM asset

Properties

LLMData

The WMLLM object containing the metadata for ILLM derived classes.

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

Methods

GetEmbeddings(object[])

Return a list of embeddings for the input object.

Declaration
public 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()

Start a conversation with the given parameters

Declaration
public Task<ILLMConversation> StartConversation()
Returns
Type Description
Task<ILLMConversation>

Implements

ILLM
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