ChatRequest Class

Definition

Namespace: SuperBuilderWinService.ProvidersImpl
Assembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+2093811f3bac5da092b5ce9c8172233582eee4d5
C#
public sealed class ChatRequest : IMessage<ChatRequest>, 
	IMessage, IEquatable<ChatRequest>, IDeepCloneable<ChatRequest>, 
	IBufferMessage
Inheritance
Object    ChatRequest
Implements
IBufferMessage, IDeepCloneableChatRequest, IMessage, IMessageChatRequest, IEquatableChatRequest

Constructors

ChatRequestInitializes a new instance of the ChatRequest class
ChatRequest(ChatRequest)Initializes a new instance of the ChatRequest class

Properties

AttachedFiles A JSON list of filepaths for RAG chat. 'None' = use ALL files, '[]' = use NO files.
Descriptor 
HasAttachedFilesGets whether the "attachedFiles" field is set
History Previous messages in the conversation to provide additional context
Name Specify the sender of the message
Parser 
Prompt The query to send to the LLM
PromptOptions Additional options for the prompt to route to different workflows, defaults to general chat if unset

Methods

CalculateSize 
ClearAttachedFilesClears the value of the "attachedFiles" field
Clone 
Equals(ChatRequest) 
Equals(Object)
(Overrides ObjectEquals(Object))
GetHashCode
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MergeFrom(ChatRequest) 
MergeFrom(CodedInputStream) 
ToString
(Overrides ObjectToString)
WriteTo 

Fields

AttachedFilesFieldNumberField number for the "attachedFiles" field.
HistoryFieldNumberField number for the "history" field.
NameFieldNumberField number for the "name" field.
PromptFieldNumberField number for the "prompt" field.
PromptOptionsFieldNumberField number for the "promptOptions" field.

See Also