BRAINIAC Customer Support Intelligence
Paid Customer Support Intelligence API via x402. Unpaid tool calls return 402.
使うべきか
品質と安全性
検出事項(15)
- LOWcustomer-support_ticket-classify 内
- LOWcustomer-support_ticket-classify 内
- LOWcustomer-support_ticket-prioritize 内
- LOWcustomer-support_ticket-prioritize 内
- LOWcustomer-support_ticket-deduplicate 内
- LOWcustomer-support_ticket-deduplicate 内
- LOWcustomer-support_conversation-summarize 内
- LOWcustomer-support_conversation-summarize 内
- LOWcustomer-support_sentiment-analyze 内
- LOWcustomer-support_sentiment-analyze 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"customer-support": {
"url": "https://www.brainiac.software/mcp/customer-support"
}
}
}リモートエンドポイント
https://www.brainiac.software/mcp/customer-supportstreamable-httpできること
ツール一覧
ツール(8)
🟢customer-support_ticket-classify(tickets, messages, text, csv, json, ...)
Classify supplied tickets into billing, access, outage, defect, delivery, or account when one documented keyword list has the most matches. Docs: https://www.brainiac.software/api/customer-support/ticket-classify Keywords: when triaging or answering a support ticket, tickets, messages, text, csv, file, categories, policies, checkedAt, ticketsModified, actionTaken, issueResolved, ticketCount, issues, Classify support tickets.
入力スキーマ
{
"type": "object",
"properties": {
"tickets": {
"description": "tickets, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"subject": {
"description": "subject, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"body": {
"description": "body, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"email": {
"description": "email, string, length 1 to 254. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 254
},
"customer": {
"description": "customer, string, length 1 to 120. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 120
},
"severity": {
"description": "severity, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"impact": {
"description": "impact, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"reply": {
"description": "reply, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"orderId": {
"description": "orderId, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"text": {
"description": "text, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
}
},
"description": "item, object. Required."
}
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
},
"text": {
"description": "text, string, length 1 to 20000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"csv": {
"description": "csv, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"json": {
"description": "json, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"text/csv",
"application/json",
"text/plain"
],
"description": "mediaType, string, one of text/csv, application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"categories": {
"description": "categories, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "name, string, length 1 to 60. Required."
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "item, string, length 1 to 40. Required."
},
"description": "keywords, array. Required."
}
},
"required": [
"name",
"keywords"
],
"description": "item, object. Required."
}
},
"policies": {
"description": "policies, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "id, string, length 1 to 40. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "text, string, length 1 to 2000. Required."
}
},
"required": [
"id",
"text"
],
"description": "item, object. Required."
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"ticketsModified": {
"type": "boolean",
"description": "ticketsModified. Boolean."
},
"actionTaken": {
"type": "boolean",
"description": "actionTaken. Boolean."
},
"issueResolved": {
"type": "boolean",
"description": "issueResolved. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"ticketCount": {
"type": "number",
"description": "ticketCount. Number."
},
"tickets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"row": {
"type": "number",
"description": "row. Number."
},
"subject": {
"type": "string",
"description": "subject. String."
},
"category": {
"type": "string",
"description": "category. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "category. String."
},
"count": {
"type": "number",
"description": "count. Number."
},
"terms": {
"type": "string",
"description": "terms. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "matches. Array."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "tickets. Array."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢customer-support_ticket-prioritize(tickets, messages, text, csv, json, ...)
Set priority from a supplied severity and from documented urgency and business-impact phrases. Docs: https://www.brainiac.software/api/customer-support/ticket-prioritize Keywords: when triaging or answering a support ticket, tickets, messages, text, csv, file, categories, policies, checkedAt, ticketsModified, actionTaken, issueResolved, ticketCount, issues, Prioritize support tickets.
入力スキーマ
{
"type": "object",
"properties": {
"tickets": {
"description": "tickets, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"subject": {
"description": "subject, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"body": {
"description": "body, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"email": {
"description": "email, string, length 1 to 254. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 254
},
"customer": {
"description": "customer, string, length 1 to 120. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 120
},
"severity": {
"description": "severity, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"impact": {
"description": "impact, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"reply": {
"description": "reply, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"orderId": {
"description": "orderId, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"text": {
"description": "text, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
}
},
"description": "item, object. Required."
}
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
},
"text": {
"description": "text, string, length 1 to 20000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"csv": {
"description": "csv, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"json": {
"description": "json, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"text/csv",
"application/json",
"text/plain"
],
"description": "mediaType, string, one of text/csv, application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"categories": {
"description": "categories, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "name, string, length 1 to 60. Required."
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "item, string, length 1 to 40. Required."
},
"description": "keywords, array. Required."
}
},
"required": [
"name",
"keywords"
],
"description": "item, object. Required."
}
},
"policies": {
"description": "policies, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "id, string, length 1 to 40. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "text, string, length 1 to 2000. Required."
}
},
"required": [
"id",
"text"
],
"description": "item, object. Required."
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"ticketsModified": {
"type": "boolean",
"description": "ticketsModified. Boolean."
},
"actionTaken": {
"type": "boolean",
"description": "actionTaken. Boolean."
},
"issueResolved": {
"type": "boolean",
"description": "issueResolved. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"ticketCount": {
"type": "number",
"description": "ticketCount. Number."
},
"tickets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"row": {
"type": "number",
"description": "row. Number."
},
"subject": {
"type": "string",
"description": "subject. String."
},
"priority": {
"type": "string",
"description": "priority. String."
},
"rank": {
"type": "number",
"description": "rank. Number."
},
"urgency": {
"type": "string",
"description": "urgency. String."
},
"impact": {
"type": "string",
"description": "impact. String."
},
"impactSignals": {
"type": "string",
"description": "impactSignals. String."
},
"signals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"signal": {
"type": "string",
"description": "signal. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "signals. Array."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "tickets. Array."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢customer-support_ticket-deduplicate(tickets, messages, text, csv, json, ...)
Find duplicate tickets for the same email address and repeated wording across customers. Docs: https://www.brainiac.software/api/customer-support/ticket-deduplicate Keywords: when triaging or answering a support ticket, tickets, messages, text, csv, file, categories, policies, checkedAt, ticketsModified, actionTaken, issueResolved, ticketCount, pairs, issues.
入力スキーマ
{
"type": "object",
"properties": {
"tickets": {
"description": "tickets, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"subject": {
"description": "subject, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"body": {
"description": "body, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"email": {
"description": "email, string, length 1 to 254. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 254
},
"customer": {
"description": "customer, string, length 1 to 120. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 120
},
"severity": {
"description": "severity, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"impact": {
"description": "impact, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"reply": {
"description": "reply, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"orderId": {
"description": "orderId, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"text": {
"description": "text, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
}
},
"description": "item, object. Required."
}
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
},
"text": {
"description": "text, string, length 1 to 20000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"csv": {
"description": "csv, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"json": {
"description": "json, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"text/csv",
"application/json",
"text/plain"
],
"description": "mediaType, string, one of text/csv, application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"categories": {
"description": "categories, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "name, string, length 1 to 60. Required."
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "item, string, length 1 to 40. Required."
},
"description": "keywords, array. Required."
}
},
"required": [
"name",
"keywords"
],
"description": "item, object. Required."
}
},
"policies": {
"description": "policies, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "id, string, length 1 to 40. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "text, string, length 1 to 2000. Required."
}
},
"required": [
"id",
"text"
],
"description": "item, object. Required."
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"ticketsModified": {
"type": "boolean",
"description": "ticketsModified. Boolean."
},
"actionTaken": {
"type": "boolean",
"description": "actionTaken. Boolean."
},
"issueResolved": {
"type": "boolean",
"description": "issueResolved. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"ticketCount": {
"type": "number",
"description": "ticketCount. Number."
},
"pairs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"leftId": {
"type": "string",
"description": "leftId. String."
},
"leftRow": {
"type": "number",
"description": "leftRow. Number."
},
"rightId": {
"type": "string",
"description": "rightId. String."
},
"rightRow": {
"type": "number",
"description": "rightRow. Number."
},
"rule": {
"type": "string",
"description": "rule. String."
},
"confidence": {
"type": "number",
"description": "confidence. Number."
},
"level": {
"type": "string",
"description": "level. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "pairs. Array."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢customer-support_conversation-summarize(tickets, messages, text, csv, json, ...)
Restate up to three customer sentences and quote supplied agent replies. Docs: https://www.brainiac.software/api/customer-support/conversation-summarize Keywords: when triaging or answering a support ticket, tickets, messages, text, csv, file, categories, policies, checkedAt, ticketsModified, actionTaken, issueResolved, ticketCount, summaries, issues.
入力スキーマ
{
"type": "object",
"properties": {
"tickets": {
"description": "tickets, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"subject": {
"description": "subject, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"body": {
"description": "body, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"email": {
"description": "email, string, length 1 to 254. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 254
},
"customer": {
"description": "customer, string, length 1 to 120. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 120
},
"severity": {
"description": "severity, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"impact": {
"description": "impact, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"reply": {
"description": "reply, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"orderId": {
"description": "orderId, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"text": {
"description": "text, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
}
},
"description": "item, object. Required."
}
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
},
"text": {
"description": "text, string, length 1 to 20000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"csv": {
"description": "csv, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"json": {
"description": "json, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"text/csv",
"application/json",
"text/plain"
],
"description": "mediaType, string, one of text/csv, application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"categories": {
"description": "categories, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "name, string, length 1 to 60. Required."
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "item, string, length 1 to 40. Required."
},
"description": "keywords, array. Required."
}
},
"required": [
"name",
"keywords"
],
"description": "item, object. Required."
}
},
"policies": {
"description": "policies, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "id, string, length 1 to 40. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "text, string, length 1 to 2000. Required."
}
},
"required": [
"id",
"text"
],
"description": "item, object. Required."
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"ticketsModified": {
"type": "boolean",
"description": "ticketsModified. Boolean."
},
"actionTaken": {
"type": "boolean",
"description": "actionTaken. Boolean."
},
"issueResolved": {
"type": "boolean",
"description": "issueResolved. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"ticketCount": {
"type": "number",
"description": "ticketCount. Number."
},
"summaries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"row": {
"type": "number",
"description": "row. Number."
},
"subject": {
"type": "string",
"description": "subject. String."
},
"summary": {
"type": "string",
"description": "summary. String."
},
"excerpts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"description": "role. String."
},
"text": {
"type": "string",
"description": "text. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "excerpts. Array."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "summaries. Array."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢customer-support_sentiment-analyze(tickets, messages, text, csv, json, ...)
Label customer wording with a documented positive and negative word list. Docs: https://www.brainiac.software/api/customer-support/sentiment-analyze Keywords: when triaging or answering a support ticket, tickets, messages, text, csv, file, categories, policies, checkedAt, ticketsModified, actionTaken, issueResolved, ticketCount, issues, Analyze ticket sentiment.
入力スキーマ
{
"type": "object",
"properties": {
"tickets": {
"description": "tickets, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"subject": {
"description": "subject, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"body": {
"description": "body, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"email": {
"description": "email, string, length 1 to 254. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 254
},
"customer": {
"description": "customer, string, length 1 to 120. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 120
},
"severity": {
"description": "severity, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"impact": {
"description": "impact, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"reply": {
"description": "reply, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"orderId": {
"description": "orderId, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"text": {
"description": "text, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
}
},
"description": "item, object. Required."
}
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
},
"text": {
"description": "text, string, length 1 to 20000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"csv": {
"description": "csv, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"json": {
"description": "json, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"text/csv",
"application/json",
"text/plain"
],
"description": "mediaType, string, one of text/csv, application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"categories": {
"description": "categories, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "name, string, length 1 to 60. Required."
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "item, string, length 1 to 40. Required."
},
"description": "keywords, array. Required."
}
},
"required": [
"name",
"keywords"
],
"description": "item, object. Required."
}
},
"policies": {
"description": "policies, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "id, string, length 1 to 40. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "text, string, length 1 to 2000. Required."
}
},
"required": [
"id",
"text"
],
"description": "item, object. Required."
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"ticketsModified": {
"type": "boolean",
"description": "ticketsModified. Boolean."
},
"actionTaken": {
"type": "boolean",
"description": "actionTaken. Boolean."
},
"issueResolved": {
"type": "boolean",
"description": "issueResolved. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"ticketCount": {
"type": "number",
"description": "ticketCount. Number."
},
"tickets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"row": {
"type": "number",
"description": "row. Number."
},
"subject": {
"type": "string",
"description": "subject. String."
},
"label": {
"type": "string",
"description": "label. String."
},
"negative": {
"type": "string",
"description": "negative. String."
},
"positive": {
"type": "string",
"description": "positive. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "tickets. Array."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢customer-support_resolution-suggest(tickets, messages, text, csv, json, ...)
Draft a reply that quotes the customer and a supplied policy only when that policy shares a word with the ticket. Docs: https://www.brainiac.software/api/customer-support/resolution-suggest Keywords: when triaging or answering a support ticket, tickets, messages, text, csv, file, categories, policies, checkedAt, ticketsModified, actionTaken, issueResolved, ticketCount, drafts, issues.
入力スキーマ
{
"type": "object",
"properties": {
"tickets": {
"description": "tickets, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"subject": {
"description": "subject, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"body": {
"description": "body, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"email": {
"description": "email, string, length 1 to 254. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 254
},
"customer": {
"description": "customer, string, length 1 to 120. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 120
},
"severity": {
"description": "severity, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"impact": {
"description": "impact, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"reply": {
"description": "reply, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"orderId": {
"description": "orderId, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"text": {
"description": "text, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
}
},
"description": "item, object. Required."
}
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
},
"text": {
"description": "text, string, length 1 to 20000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"csv": {
"description": "csv, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"json": {
"description": "json, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"text/csv",
"application/json",
"text/plain"
],
"description": "mediaType, string, one of text/csv, application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"categories": {
"description": "categories, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "name, string, length 1 to 60. Required."
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "item, string, length 1 to 40. Required."
},
"description": "keywords, array. Required."
}
},
"required": [
"name",
"keywords"
],
"description": "item, object. Required."
}
},
"policies": {
"description": "policies, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "id, string, length 1 to 40. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "text, string, length 1 to 2000. Required."
}
},
"required": [
"id",
"text"
],
"description": "item, object. Required."
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"ticketsModified": {
"type": "boolean",
"description": "ticketsModified. Boolean."
},
"actionTaken": {
"type": "boolean",
"description": "actionTaken. Boolean."
},
"issueResolved": {
"type": "boolean",
"description": "issueResolved. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"ticketCount": {
"type": "number",
"description": "ticketCount. Number."
},
"drafts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"row": {
"type": "number",
"description": "row. Number."
},
"category": {
"type": "string",
"description": "category. String."
},
"policyId": {
"type": "string",
"description": "policyId. String."
},
"text": {
"type": "string",
"description": "text. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "drafts. Array."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢customer-support_escalation-detect(tickets, messages, text, csv, json, ...)
Flag a ticket when the text contains a documented escalation phrase, the priority rules mark it critical, or the same email appears on three tickets in the request. Docs: https://www.brainiac.software/api/customer-support/escalation-detect Keywords: when triaging or answering a support ticket, tickets, messages, text, csv, file, categories, policies, checkedAt, ticketsModified, actionTaken, issueResolved, ticketCount, escalated, issues.
入力スキーマ
{
"type": "object",
"properties": {
"tickets": {
"description": "tickets, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"subject": {
"description": "subject, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"body": {
"description": "body, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"email": {
"description": "email, string, length 1 to 254. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 254
},
"customer": {
"description": "customer, string, length 1 to 120. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 120
},
"severity": {
"description": "severity, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"impact": {
"description": "impact, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"reply": {
"description": "reply, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"orderId": {
"description": "orderId, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"text": {
"description": "text, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
}
},
"description": "item, object. Required."
}
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
},
"text": {
"description": "text, string, length 1 to 20000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"csv": {
"description": "csv, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"json": {
"description": "json, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"text/csv",
"application/json",
"text/plain"
],
"description": "mediaType, string, one of text/csv, application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"categories": {
"description": "categories, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "name, string, length 1 to 60. Required."
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "item, string, length 1 to 40. Required."
},
"description": "keywords, array. Required."
}
},
"required": [
"name",
"keywords"
],
"description": "item, object. Required."
}
},
"policies": {
"description": "policies, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "id, string, length 1 to 40. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "text, string, length 1 to 2000. Required."
}
},
"required": [
"id",
"text"
],
"description": "item, object. Required."
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"ticketsModified": {
"type": "boolean",
"description": "ticketsModified. Boolean."
},
"actionTaken": {
"type": "boolean",
"description": "actionTaken. Boolean."
},
"issueResolved": {
"type": "boolean",
"description": "issueResolved. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"ticketCount": {
"type": "number",
"description": "ticketCount. Number."
},
"escalated": {
"type": "boolean",
"description": "escalated. Boolean."
},
"tickets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"row": {
"type": "number",
"description": "row. Number."
},
"potential": {
"type": "boolean",
"description": "potential. Boolean."
},
"rule": {
"type": "string",
"description": "rule. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "tickets. Array."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢customer-support_quality-audit(tickets, messages, text, csv, json, ...)
Check supplied replies for a resolution claim, a missing reply, or an email, amount, order, or policy that was not in the ticket. Docs: https://www.brainiac.software/api/customer-support/quality-audit Keywords: when triaging or answering a support ticket, tickets, messages, text, csv, file, categories, policies, checkedAt, ticketsModified, actionTaken, issueResolved, ticketCount, findingCount, findings.
入力スキーマ
{
"type": "object",
"properties": {
"tickets": {
"description": "tickets, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"subject": {
"description": "subject, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"body": {
"description": "body, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"email": {
"description": "email, string, length 1 to 254. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 254
},
"customer": {
"description": "customer, string, length 1 to 120. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 120
},
"severity": {
"description": "severity, string, length 1 to 40. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"impact": {
"description": "impact, string, length 1 to 200. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"reply": {
"description": "reply, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"orderId": {
"description": "orderId, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"text": {
"description": "text, string, length 1 to 8000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
}
},
"description": "item, object. Required."
}
},
"messages": {
"description": "messages, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"customer",
"agent",
"system"
],
"description": "role, string, one of customer, agent, system. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "text, string, length 1 to 4000. Required."
}
},
"required": [
"role",
"text"
],
"description": "item, object. Required."
}
},
"text": {
"description": "text, string, length 1 to 20000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"csv": {
"description": "csv, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"json": {
"description": "json, string, length 1 to 200000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"file": {
"description": "file, object. Optional.",
"type": "object",
"properties": {
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 180
},
"mediaType": {
"type": "string",
"enum": [
"text/csv",
"application/json",
"text/plain"
],
"description": "mediaType, string, one of text/csv, application/json, text/plain. Required."
},
"fileBase64": {
"type": "string",
"minLength": 1,
"maxLength": 12000000,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"required": [
"mediaType",
"fileBase64"
]
},
"categories": {
"description": "categories, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "name, string, length 1 to 60. Required."
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "item, string, length 1 to 40. Required."
},
"description": "keywords, array. Required."
}
},
"required": [
"name",
"keywords"
],
"description": "item, object. Required."
}
},
"policies": {
"description": "policies, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"description": "id, string, length 1 to 40. Required."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "text, string, length 1 to 2000. Required."
}
},
"required": [
"id",
"text"
],
"description": "item, object. Required."
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"ticketsModified": {
"type": "boolean",
"description": "ticketsModified. Boolean."
},
"actionTaken": {
"type": "boolean",
"description": "actionTaken. Boolean."
},
"issueResolved": {
"type": "boolean",
"description": "issueResolved. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"ticketCount": {
"type": "number",
"description": "ticketCount. Number."
},
"findingCount": {
"type": "number",
"description": "findingCount. Number."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"code": {
"type": "string",
"description": "code. String."
},
"ticketId": {
"type": "string",
"description": "ticketId. String."
},
"field": {
"type": "string",
"description": "field. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "findings. Array."
},
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}コミュニティ
エビデンス