Hashtags
Hashtag related APIs
このAPIを使用すると、ドキュメントに対する分類ハッシュタグを承認または拒否することができます。
Authorizations
Header parameters
AGENT-EMAILstringOptional
Optional: Email of the agent to use for this request
USER-EMAILstringOptional
Optional: Email address to associate with the user
OWN-USER-IDstringOptional
Optional: User ID to identify or create a user
Body
Responses
200
正常に送信されました。
application/json
400
Invalid Parameter
post
POST /webapi/kb_auto_hashtag_feedback HTTP/1.1
Host: backend-ja.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 55
{
"autoHashtagFeedbacks": [
{
"id": "text",
"state": "text"
}
]
}
{
"result": [
{
"id": "text",
"state": "text"
}
]
}
FAQおよびナレッジベースの両方から、使用頻度と共にすべてのハッシュタグを取得します。
Authorizations
Header parameters
AGENT-EMAILstringOptional
Optional: Email of the agent to use for this request
USER-EMAILstringOptional
Optional: Email address to associate with the user
OWN-USER-IDstringOptional
Optional: User ID to identify or create a user
Responses
200
ハッシュタグの取得に成功しました。
application/json
get
GET /webapi/hashtags HTTP/1.1
Host: backend-ja.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
200
ハッシュタグの取得に成功しました。
{
"result": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
このAPIを使用すると、ドキュメントに対する分類キーワードを含むハッシュタグのリストを取得できます。
Authorizations
Header parameters
AGENT-EMAILstringOptional
Optional: Email of the agent to use for this request
USER-EMAILstringOptional
Optional: Email address to associate with the user
OWN-USER-IDstringOptional
Optional: User ID to identify or create a user
Body
idsarrayOptional
自動ハッシュタグ付け機能の内容を取得したいドキュメントID
Responses
200
自動ハッシュタグ付け機能のリストの取得に成功しました。
application/json
400
無効なパラメーター
post
POST /webapi/kb_auto_hashtag HTTP/1.1
Host: backend-ja.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 10
{
"ids": []
}
{
"result": {
"updated": [
{
"id": "text",
"autoHashtags": [
{
"id": "text",
"state": "text",
"bestConfidence": 1,
"autoHashtag": {
"hashtag": "text"
}
}
]
}
]
},
"errors": {}
}
Was this helpful?