Table of Contents

Class AskQuestionsResult

Namespace
JD.AI.Core.Questions
Assembly
JD.AI.Core.dll

The result produced after the user completes (or cancels) an AskQuestionsRequest.

public sealed class AskQuestionsResult
Inheritance
AskQuestionsResult
Inherited Members

Properties

Answers

Collected answers keyed by Key. For MultiSelect answers are joined with a comma. Missing optional questions retain their DefaultValue here.

public IReadOnlyDictionary<string, string> Answers { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Completed

True when the user confirmed and submitted all required answers; false when the flow was cancelled via Esc or Ctrl+C.

public bool Completed { get; init; }

Property Value

bool

Id

Matches the Id that triggered this result.

public string Id { get; init; }

Property Value

string