SystemOneResult
Namespace: TypeSafe.AI.Sdk
public sealed class SystemOneResultAnswers keyed by question name, with model and usage metadata.
Inheritance: object
Properties
Section titled “Properties”Answers
Section titled “Answers”public IReadOnlyDictionary<string, Answer> Answers { get; init; }Answers keyed by the same names supplied in the request.
Value: IReadOnlyDictionary<string, Answer>
public string Model { get; init; }The model used to answer the request.
Value: string
public Usage Usage { get; init; }Token usage for the request.
Value: Usage
Methods
Section titled “Methods”GetBox(string)
Section titled “GetBox(string)”public BoxAnswer GetBox(string name)Return the named Box answer.
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
Returns: BoxAnswer
GetChoice(string)
Section titled “GetChoice(string)”public ChoiceAnswer GetChoice(string name)Return the named Choice answer.
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
Returns: ChoiceAnswer
GetNoul(string)
Section titled “GetNoul(string)”public NoulAnswer GetNoul(string name)Return the named Noul answer.
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
Returns: NoulAnswer
GetScore(string)
Section titled “GetScore(string)”public ScoreAnswer GetScore(string name)Return the named Score answer.
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
Returns: ScoreAnswer
Get<T>(string)
Section titled “Get<T>(string)”public T Get<T>(string name) where T : AnswerReturn the named answer as <code class=“typeparamref”>T</code>.
Type parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
Returns: T
MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API