KG 추출 기록 목록을 가져옵니다.

이 API를 사용하려면 앱에 KnowlegedGraph의 관리자 API 범위가 필요합니다.

GET https://{{host}}/api/public/stream/{{streamId}}/qna/history?language=en

경로 매개 변수

매개 변수 필수/선택 사항 설명
host 필수 환경 URL(예: https://bots.kore.ai)
streamId 필수 봇 ID 또는 스트림 ID. 봇의 일반 설정 페이지에서 이를 액세스할 수 있습니다.

쿼리 매개 변수

매개 변수 필수/선택 사항 설명
language 필수 봇 언어(예: 영어는 "en", 독일어는 "de").

권한 부여

다음 구문을 포함한 헤더에 JWT를 포함한 API를 호출합니다: auth: {{JWT}}

콘텐츠 유형 응답

application/json

샘플 요청

curl -X POST \
  https://{{host}}/api/public/stream/{{streamId}}/qna/history?language=en \
  -H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
  -H 'content-type: application/json'

샘플 응답

{
    "metaqnas": [
        {
            "_id": "ke-b902a8eb-b8e2-5238-b6c8-14f379d78ef0",
            "editable": false,
            "status": "success",
            "isVisited": false,
            "fileId": "5e0xxxxxx8b",
            "name": "KG_QuestionExtraction",
            "extractionType": "faq",
            "streamId": "st-xxxxx-xxx-xxx-xxx-xxxxx",
            "createdBy": "u-xxxxx-xxx-xxx-xxx-xxxxx",
            "language": "en",
            "fileName": "KGCSVBotQuestionExtraction.csv",
            "createdOn": "2020-01-03T06:17:50.416Z",
            "modifiedOn": "2020-01-03T06:17:56.932Z",
            "__v": 0,
            "qnaAddedCount": 0,
            "qnaExtractedCount": 113,
            "qnaCount": 113
        }
]
}

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

ナレッジグラフの抽出履歴のリストを取得します。

このAPIを使用するために、アプリは [KnowlegdeGraph] の管理APIスコープを必要とします。

GET https://{{host}}/api/public/stream/{{streamId}}/qna/history?language=en

パスパラメータ

パラメータ 必須/任意 説明
ホスト 必須 環境URL(例: https://bots.kore.ai)
streamId 必須 ボットIDまたはストリームID。ボットの [一般設定] ページからアクセスすることができます。

クエリパラメータ

パラメータ 必須/任意 説明
language 必須 ボットの言語(例:英語なら「en」、ドイツ語なら「de」)です。

認証

以下の構文を使用して、JWTをヘッダーに含むAPIを呼び出します。 auth: {{JWT}}

応答のコンテンツタイプ

application/json

サンプルリクエスト

curl -X POST \ https://{{host}}/api/public/stream/{{streamId}}/qna/history?language=en \ -H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \ -H 'content-type: application/json'

サンプル応答

{ "metaqnas": [ { "_id": "ke-b902a8eb-b8e2-5238-b6c8-14f379d78ef0", "editable": false, "status": "success", "isVisited": false, "fileId": "5e0xxxxxx8b", "name": "KG_QuestionExtraction", "extractionType": "faq", "streamId": "st-xxxxx-xxx-xxx-xxx-xxxxx", "createdBy": "u-xxxxx-xxx-xxx-xxx-xxxxx", "language": "en", "fileName": "KGCSVBotQuestionExtraction.csv", "createdOn": "2020-01-03T06:17:50.416Z", "modifiedOn": "2020-01-03T06:午後 5:56.932Z", "__v": 0, "qnaAddedCount": 0, "qnaExtractedCount": 113, "qnaCount": 113 } ] }

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

To get a list of KG Extractions history.

To use this API, app needs the Admin API Scope of KnowlegdeGraph.

GET https://{{host}}/api/public/stream/{{streamId}}/qna/history?language=en

Path Parameters

Parameter Required/Optional Description
host Required Environment URL, for example, https://bots.kore.ai
streamId Required Bot ID or Stream ID. You can access it from the General Settings page of the bot.

Query Parameters

Parameter Required/Optional Description
language Required The bot language, for example, “en” for English and “de” for German.

Authorization

Invoke the API with JWT in the header with the following syntax:

auth: {{JWT}}

Response Content Type

application/json

Sample Request

curl -X POST \
  https://{{host}}/api/public/stream/{{streamId}}/qna/history?language=en \
  -H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
  -H 'content-type: application/json'

Sample Response

{
    "metaqnas": [
        {
            "_id": "ke-b902a8eb-b8e2-5238-b6c8-14f379d78ef0",
            "editable": false,
            "status": "success",
            "isVisited": false,
            "fileId": "5e0xxxxxx8b",
            "name": "KG_QuestionExtraction",
            "extractionType": "faq",
            "streamId": "st-xxxxx-xxx-xxx-xxx-xxxxx",
            "createdBy": "u-xxxxx-xxx-xxx-xxx-xxxxx",
            "language": "en",
            "fileName": "KGCSVBotQuestionExtraction.csv",
            "createdOn": "2020-01-03T06:17:50.416Z",
            "modifiedOn": "2020-01-03T06:17:56.932Z",
            "__v": 0,
            "qnaAddedCount": 0,
            "qnaExtractedCount": 113,
            "qnaCount": 113
        }
]
}

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed