@azure/cognitiveservices-qnamaker package

類別

Alterations

代表改變的類別。

EndpointKeys

代表 EndpointKeys 的類別。

EndpointSettings

代表 EndpointSettings 的類別。

Knowledgebase

代表知識庫的類別。

Operations

代表 Operations 的類別。

QnAMakerClient
QnAMakerClientContext

介面

ActiveLearningSettingsDTO

端點的作用中學習設定。

AlterationsDTO

同義字的集合。

AnswerSpanRequestDTO

若要設定回應範圍預測功能。

AnswerSpanResponseDTO

QnA 的回應範圍物件。

ContextDTO

與 Qna 相關聯的內容。

CreateKbDTO

CreateKb 作業的後文架構。

CreateKbInputDTO

要建立 KB 的輸入。

DeleteKbContentsDTO

UpdateKb 中刪除作業的 PATCH 本文架構

EndpointKeysDTO

EndpointKeys 的架構會產生/重新整理作業。

EndpointSettingsDTO

端點設定。

EndpointSettingsDTOActiveLearning

端點的作用中學習設定。

ErrorModel

錯誤物件。 根據 Microsoft One API 指導方針 - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses

ErrorResponse

錯誤回應。 根據 Microsoft One API 指導方針 - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses

ErrorResponseError

錯誤物件。

FeedbackRecordDTO

主動式學習意見反應記錄。

FeedbackRecordsDTO

主動式學習意見反應記錄。

FileDTO

DTO 可保存已上傳檔案的詳細資料。

InnerErrorModel

物件,包含有關錯誤的更特定資訊。 根據 Microsoft One API 指導方針 - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses

KnowledgebaseDownloadOptionalParams

選擇性參數。

KnowledgebaseDTO

CreateKb 作業的回應架構。

KnowledgebasesDTO

使用者所擁有的知識庫集合。

KnowledgebaseUpdateHeaders

定義 Update 作業的標頭。

MetadataDTO

名稱 - 中繼資料的值組。

Operation

記錄以追蹤長時間執行的作業。

OperationsGetDetailsHeaders

定義 GetDetails 作業的標頭。

PromptDTO

提示輸入答案。

PromptDTOQna

QnADTO - QnaId 或 QnADTO 必須存在於 PromptDTO 物件中

QnADocumentsDTO

QnADTO 清單

QnADTO

Q-A 物件。

QnADTOContext

QnA 的內容

QnASearchResult

代表搜尋結果。

QnASearchResultAnswerSpan

針對使用者的問題回答 QnA 範圍物件。

QnASearchResultContext

QnA 的內容物件

QnASearchResultList

代表問題解答的清單。

QueryContextDTO

具有先前 QnA 資訊的內容物件。

QueryDTO

POST 本文架構以查詢知識庫。

QueryDTOAnswerSpanRequest

若要設定回應範圍預測功能。

QueryDTOContext

具有先前 QnA 資訊的內容物件。

ReplaceKbDTO

取代 KB 作業的後文架構。

UpdateContextDTO

更新本文架構以代表要更新的內容

UpdateKbContentsDTO

Update Kb 中更新作業的 PATCH 本文架構

UpdateKbOperationDTO

包含要更新的 QnA 清單

UpdateKbOperationDTOAdd

用於新增作業的 CreateKbInputDTO 實例

UpdateKbOperationDTODelete

刪除作業的 DeleteKbContentsDTO 實例

UpdateKbOperationDTOUpdate

UpdateKbContentsDTO for Update Operation 的實例

UpdateMetadataDTO

PATCH 本文架構,代表要更新的中繼資料清單

UpdateQnaDTO

Update Qna List 的 PATCH 本文架構

UpdateQnaDTOContext

與要更新之 Qna 相關聯的內容。

UpdateQnaDTOMetadata

與要更新之答案相關聯的中繼資料清單

UpdateQnaDTOQuestions

與答案相關聯的問題清單。

UpdateQuestionsDTO

Update Kb 的 PATCH 本文架構,其中包含要新增和刪除的問題清單

WordAlterationsDTO

文字改變的集合。

類型別名

AlterationsGetAlterationsForKbResponse

包含 getAlterationsForKb 作業的回應資料。

AlterationsGetResponse

包含取得作業的回應資料。

EndpointKeysGetKeysResponse

包含 getKeys 作業的回應資料。

EndpointKeysRefreshKeysResponse

包含 refreshKeys 作業的回應資料。

EndpointSettingsGetSettingsResponse

包含 getSettings 作業的回應資料。

EnvironmentType

定義 EnvironmentType 的值。 可能的值包括:'Prod'、'Test'

ErrorCodeType

定義 ErrorCodeType 的值。 可能的值包括:'BadArgument'、'Forbidden'、'NotFound'、'KbNotFound'、'Unauthorized'、'Unspecified'、'EndpointKeysError'、'QuotaExceeded'、'QnaRuntimeError'、'SKULimitExceeded'、'OperationNotFound'、'ServiceError'、'ValidationFailure'、'CaptureFailure'

KnowledgebaseCreateResponse

包含建立作業的回應資料。

KnowledgebaseDownloadResponse

包含下載作業的回應資料。

KnowledgebaseGenerateAnswerResponse

包含 generateAnswer 作業的回應資料。

KnowledgebaseGetDetailsResponse

包含 getDetails 作業的回應資料。

KnowledgebaseListAllResponse

包含 listAll 作業的回應資料。

KnowledgebaseUpdateResponse

包含更新作業的回應資料。

OperationsGetDetailsResponse

包含 getDetails 作業的回應資料。

OperationStateType

定義 OperationStateType 的值。 可能的值包括:'Failed'、'NotStarted'、'Running'、'Succeeded'

StrictFiltersCompoundOperationType

定義 StrictFiltersCompoundOperationType 的值。 可能的值包括:'AND'、'OR'