Documentation
Table of Contents

Method GetContextAsync

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

GetContextAsync(IntentDefinition, CancellationToken)

Returns the items to send with a request for definition; an empty list sends none.

ValueTask<IReadOnlyList<SpecialistContextItem>> GetContextAsync(IntentDefinition definition, CancellationToken cancellationToken)

Parameters

definition IntentDefinition

The requested definition. Treat it as read-only.

cancellationToken CancellationToken

Cancels the call.

Returns

ValueTask<IReadOnlyList<SpecialistContextItem>>