public sealed class ChatRequest : IMessage<ChatRequest>,
IMessage, IEquatable<ChatRequest>, IDeepCloneable<ChatRequest>,
IBufferMessage
Public NotInheritable Class ChatRequest
Implements IMessage(Of ChatRequest), IMessage,
IEquatable(Of ChatRequest), IDeepCloneable(Of ChatRequest), IBufferMessage
public ref class ChatRequest sealed : IMessage<ChatRequest^>,
IMessage, IEquatable<ChatRequest^>, IDeepCloneable<ChatRequest^>,
IBufferMessage
[<SealedAttribute>]
type ChatRequest =
class
interface IMessage<ChatRequest>
interface IMessage
interface IEquatable<ChatRequest>
interface IDeepCloneable<ChatRequest>
interface IBufferMessage
end
ChatRequest | Initializes a new instance of the ChatRequest class |
ChatRequest(ChatRequest) | Initializes a new instance of the ChatRequest class |
AttachedFiles | A JSON list of filepaths for RAG chat. 'None' = use ALL files, '[]' = use NO files. |
Descriptor | |
HasAttachedFiles | Gets whether the "attachedFiles" field is set |
HasSessionId | Gets whether the "sessionId" 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, will be set to a default prompt if unset |
PromptOptions | Additional options for the prompt to route to different workflows, defaults to general chat if unset |
SessionId | Chat session that this request belongs to, if none specified then history is not saved |
CalculateSize | |
ClearAttachedFiles | Clears the value of the "attachedFiles" field |
ClearSessionId | Clears the value of the "sessionId" field |
Clone | |
Equals(ChatRequest) | |
Equals(Object) | (Overrides ObjectEquals(Object)) |
GetHashCode | (Overrides ObjectGetHashCode) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
MergeFrom(ChatRequest) | |
MergeFrom(CodedInputStream) | |
ToString | (Overrides ObjectToString) |
WriteTo |
AttachedFilesFieldNumber | Field number for the "attachedFiles" field. |
HistoryFieldNumber | Field number for the "history" field. |
NameFieldNumber | Field number for the "name" field. |
PromptFieldNumber | Field number for the "prompt" field. |
PromptOptionsFieldNumber | Field number for the "promptOptions" field. |
SessionIdFieldNumber | Field number for the "sessionId" field. |