Documentation
Table of Contents

Method ReadOffer

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

ReadOffer(IAIProvider?)

The offer as it was received, read from DefinitionText: with provider as its provider when the offer brought one, else naming ProviderName.

public SpecialistOffer ReadOffer(IAIProvider? provider = null)

Parameters

provider IAIProvider

The provider the service recalled, for an offer that brought its own; ignored otherwise.

Returns

SpecialistOffer

Exceptions

ArgumentNullException

The offer brought a provider of its own and provider is null.

SpecialistOfferException

The text does not hold one valid definition.