PromptDTOQna interface

QnADTO - Either QnaId or QnADTO needs to be present in a PromptDTO object

Extends

Inherited Properties

answer

Answer text

context

Context of a QnA

id

Unique id for the Q-A.

lastUpdatedTimestamp

Timestamp when the QnA was last updated.

metadata

List of metadata associated with the answer.

questions

List of questions associated with the answer.

source

Source from which Q-A was indexed. eg. https://docs.microsoft.com/en-us/azure/cognitive-services/QnAMaker/FAQs

Inherited Property Details

answer

Answer text

answer: string

Property Value

string

Inherited From QnADTO.answer

context

Context of a QnA

context?: QnADTOContext

Property Value

Inherited From QnADTO.context

id

Unique id for the Q-A.

id?: number

Property Value

number

Inherited From QnADTO.id

lastUpdatedTimestamp

Timestamp when the QnA was last updated.

lastUpdatedTimestamp?: string

Property Value

string

Inherited From QnADTO.lastUpdatedTimestamp

metadata

List of metadata associated with the answer.

metadata?: MetadataDTO[]

Property Value

Inherited From QnADTO.metadata

questions

List of questions associated with the answer.

questions: string[]

Property Value

string[]

Inherited From QnADTO.questions

source

Source from which Q-A was indexed. eg. https://docs.microsoft.com/en-us/azure/cognitive-services/QnAMaker/FAQs

source?: string

Property Value

string

Inherited From QnADTO.source