Namespace RDCore.SDK.Server.Assistant
Classes
- AssistantToolCatalog
The tools a server serves an assistant, by name: what
rdcore/tools/listlists andrdcore/tools/callcalls.
- AssistantToolRefusedException
Thrown by a tool that refuses a call: the catalog answers it with a result whose IsError is true, and whose text is the exception's message.
- AssistantTool<TArguments, TResult>
A tool whose arguments and result are records: the arguments of a call are read as a
TArguments, and the tool answers with aTResult, as data and as text.
- CappedList<T>
The first items of a list, cut at a cap (Cap<T>(IEnumerable<T>, int)), and how many there are.
- ToolResultLimits
How much a call of a tool answers at most: the cap of each kind of list, and of the text. A result cut at a cap says so, and says how many there are.
Interfaces
- IAssistantTool
A tool a server serves an assistant: what it is (Describe(CultureInfo)), and what a call of it answers (CallAsync(JsonObject, CancellationToken)).