快速入门
快速开始
端到端:创建账户、安装表单、上传你的第一段录音、查看评估并检查你的用量。
1. 创建你的账户
2. 安装表单
在“模板”中,从图库里选择一份表单并点击“使用此表单”:它会出现在“我的评分表”下。为它设置一个键,例如 VENTAS,以便通过文件名、CLI 或 API 选定它。
Free 套餐包含 1 个表单。
3. 上传你的第一段录音
选择适合你的方式;三种方式殊途同归。
通过面板
在 Speech Analytics 中,打开音频上传,拖入文件,并选择表单和分析方式(仅转写,或转写加分析)。如果希望通过键来选定表单,请将文件命名为 Name_KEY.mp3。
通过 CLI
安装 CLI 并运行 qi auth login:在浏览器中批准这台电脑,密钥会自动创建。所有套餐均可使用。
npm install -g @sumeria.ai/qi # the qi and qi-mcp commands, Node 20+
qi --helpqi auth login
# Where do you work? your organization / find it by email / personal account (Free, Pro)
# The browser opens: approve this computer and the key is created and saved for you
qi auth status # account, branch and key in use (the key is masked)
qi auth login --tenant acme # skip the question: your organization's name
qi auth login --key # paste a key from API Keys instead (not echoed)
qi auth switch # sign in to another account; keeps the current one if it fails
qi auth switch --branch # another branch of your organization
qi auth logout # forget the key on this machineqi doctor # config, API, plan, modules, ffmpeg
qi forms list --type audio # the key each form answers to
qi upload audio ./llamada-1.mp3 --form VENTAS
qi interactions list --limit 5 # copy the id of your interaction
qi interactions wait <id> --timeout 900 # until every stage settled
qi interactions get <id> # status, dialogue, answers
qi usage # plan and QI tokens used通过 API
直接通过 API 上传属于 Pro 和 Enterprise 套餐。这是一个带两个请求头的 multipart 请求:
printf 'X-API-KEY: %s\n' "$QI_API_KEY" | curl -H @- https://api-service.emotionalscoring.io/v1/integrations/uploads/audio \
-H "X-TENANT-ID: $QI_TENANT" \
-F "files=@./llamada-1.mp3" \
-F "formKey=VENTAS"4. 查看评估
上传会被排入队列,几分钟后出现在“库”中。打开详情:分离各方声音的转写、表单答复以及每个阶段的状态。
在面板之外,qi interactions get 或 GET /interactions/:id 会逐阶段返回相同内容。
printf 'X-API-KEY: %s\n' "$QI_API_KEY" | curl -H @- https://api-service.emotionalscoring.io/v1/integrations/interactions/65f0a1b2c3d4e5f6a7b8c9d0 \
-H "X-TENANT-ID: $QI_TENANT"5. 检查你的用量
“用量”显示你的套餐、QI 代币余额以及本周期的消耗。1 个 QI 代币等于 1 分钟音频:Free 套餐的 60 个代币在 7 天试用期内约可覆盖 60 分钟的已分析音频。