Class Prompt
- Namespace
- LMKit.TextGeneration.Chat
- Assembly
- LM-Kit.NET.dll
Represents a textual prompt for text generation, optionally including file attachments.
public sealed class Prompt
- Inheritance
-
Prompt
- Inherited Members
Constructors
- Prompt(Message)
Initializes a new instance of the Prompt class using a message from the chat history.
- Prompt(string)
Initializes a new instance of the Prompt class with the specified text and no attachments.
- Prompt(string, Attachment)
Initializes a new instance of the Prompt class with the specified text and a single attachment.
- Prompt(string, IEnumerable<Attachment>)
Initializes a new instance of the Prompt class with the specified text and multiple attachments.
Properties
- Attachments
Gets the list of file attachments associated with the prompt.
- Text
Gets the textual content of the prompt.