lakala
  1. 分类模型
lakala
  • 相似度模型
    • bge-reranker-v2-m3
      POST
    • bge-m3
      POST
    • Embedding代理服务接口
      POST
    • GPU服务器Embedding接口
      POST
    • 文档QA全领域通用相似度模型(已弃用)
      POST
    • 旧 - 支付客服问答相似度模型 - 修
      POST
    • 通用客服问答相似度模型
      POST
    • 新 - 支付客服问答相似度模型
      POST
    • 旧 - 支付客服问答相似度模型
      POST
    • 风控客服问答相似度模型
      POST
  • 分类模型
    • 新 - 意图识别多任务模型
      POST
    • 意图识别多任务模型
      POST
    • 情感分类模型
      POST
    • 新 - 风控投诉分类模型
      POST
    • 旧 - 风控投诉分类模型
      POST
  • 打分模型
    • 新 - 培训机器人打分模型
      POST
    • 新 - 培训机器人更新问答库接口
      POST
    • 旧 - 培训机器人打分模型
      POST
    • 旧 - 培训机器人更新问答库接口
      POST
  • RAG模型
    • 问题重写接口
      POST
    • RAG总接口
      POST
    • PDF文件解析
      POST
    • Redis服务
      POST
  1. 分类模型

意图识别多任务模型

POST
:9961/v1/text_recognition

用于识别开放平台问答-用户问题意图#

用途:
判断用户是否对答案满意, 从而确定用户问题的所属类别.
判断用户是否指定具体类别.
模型: OpenAI: gpt-4o
内容返回: 当前接口会返回一个字典. key为: mood, tags-t, tags-n
key-mood: 枚举值. 中性, 正向, 负向. 如果为中性, 正向则保留当前分类, 如果为负向则剔除当前分类.
key-tags-t: 列表. 包含用户期望分类.
key-tags-n: 列表. 包含用户拒绝分类.
tags分类枚举: 考拉超收, 手收, 收款宝, 收款宝MAX, 华为POS, 小米POS, 超级收款宝, 传统POS, 传统语音大POS, 电签POS, 收款码, 微智能, 智能POS, APP功能使用, 趣伴卡, 暂缓结算, 趣伴卡APP, 拓客趣伴卡, 云收银
部署环境: 测试, 生产
测试环境目录: 192.168.12.103:/data1/hjc/intention_recognition
测试环境启动命令:
screen -r recogniton9961
python3 prompt_use.py --server_port 9961
Ctrl+a+d
生产环境目录: 10.16.64.35:/home/xiaolan/intention_recognition
生产环境启动命令:
nohup python3 prompt_use.py --server_port 9961 &

请求参数

Body 参数application/json

示例
{
    "input": "我问的是华为POS不是电签POS"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST ':9961/v1/text_recognition' \
--header 'Content-Type: application/json' \
--data-raw '{
    "input": "我问的是华为POS不是电签POS"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "model": "Intention_Recognition",
    "object": "multi_task",
    "data": {
        "mood": "负向",
        "tags-t": [
            "华为POS"
        ],
        "tags-n": [
            "电签POS"
        ]
    },
    "created": 1731551874,
    "duration": 2.303974151611328
}
修改于 2025-05-22 02:01:58
上一页
新 - 意图识别多任务模型
下一页
情感分类模型
Built with