Interface ISpecialistContextSource
- Namespace
- IntentSharp.Specialist
- Assembly
- IntentSharp.Specialist.dll
Supplies context items for an intent definition when a SpecialistRuntime builds a request. Add one to ContextSources to send, for example, the calling code or sample data with every request.
public interface ISpecialistContextSource
- Extension Methods
Methods
- GetContextAsync(IntentDefinition, CancellationToken)
Returns the items to send with a request for
definition; an empty list sends none.