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
providerIAIProviderThe provider the service recalled, for an offer that brought its own; ignored otherwise.
Returns
Exceptions
- ArgumentNullException
The offer brought a provider of its own and
provideris null.- SpecialistOfferException
The text does not hold one valid definition.