- 文件分析
- 知识库管理
- 工作流
- MCP管理
- 数据库开发
- mineruPOST
AI生成prompt
开发中
开发环境
http://172.29.50.10:2333
开发环境
http://172.29.50.10:2333
POST
/zhixin_agent/workflows/rule-generate
请求参数
Body 参数application/json
instruction
string
必需
model_config
object
必需
provider
string
必需
name
string
必需
mode
string
必需
completion_params
object
必需
user_id
string
必需
no_variable
boolean
默认就是用true
示例
{
"instruction": "将会议内容提炼总结,包括讨论主题、关键要点和待办事项",
"model_config": {
"provider": "langgenius/tongyi/tongyi",
"name": "deepseek-r1-distill-qwen-14b",
"mode": "chat",
"completion_params": {
"temperature": 0.7
}
},
"user_id": "20250526hongxmguochuang",
"no_variable": true
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://172.29.50.10:2333/zhixin_agent/workflows/rule-generate' \
--header 'Content-Type: application/json' \
--data-raw '{
"instruction": "将会议内容提炼总结,包括讨论主题、关键要点和待办事项",
"model_config": {
"provider": "langgenius/tongyi/tongyi",
"name": "deepseek-r1-distill-qwen-14b",
"mode": "chat",
"completion_params": {
"temperature": 0.7
}
},
"user_id": "20250526hongxmguochuang",
"no_variable": true
}'
返回响应
🟢200成功
application/json
Body
prompt
string
必需
variables
array[string]
必 需
opening_statement
string
必需
error
string
必需
示例
{
"prompt": "string",
"variables": [
"string"
],
"opening_statement": "string",
"error": "string"
}
修改于 2025-05-27 06:40:04