ManualChatClientOptions
Options & Configuration · AiDotNet.Configuration
Settings for the chat client that asks a person instead of a model.
For Beginners
These control how often the client checks for your answer, how long it is willing to
wait, and what name it reports for itself. The defaults are usually right: check twice a second, wait forever,
and call yourself manual.
Constructors
| Constructor |
Summary |
ManualChatClientOptions() |
|
Properties
| Property |
Summary |
TimeSpan PollInterval { get; set; } |
Gets or sets how often the queue directory is checked for an answer. |
TimeSpan? Timeout { get; set; } |
Gets or sets how long one request waits for an answer; null, the default, waits indefinitely. |
bool ClearStaleTasks { get; set; } |
Gets or sets whether leftover task and answer files are removed at construction. |
string ModelId { get; set; } |
Gets or sets the identifier the client reports. |
Methods
| Method |
Summary |
ManualChatClientOptions Clone() |
Creates an independent copy so a running client is unaffected by later mutation. |
void Validate() |
Rejects intervals and timeouts that cannot be honoured. |
Fields
| Field |
Summary |
TimeSpan MaxPollInterval |
The longest permitted gap between checks for an answer. |