这是一个用于搜索和分析维基百科文章的人工智能模型服务器,能帮助用户快速搜索文章并对文章进行评估。
/search请求正文:
{
"topic": "string",
"limit": 5, // 可选,默认值: 5
"model": "gpt-3.5-turbo" // 可选
}
响应是一个服务器发送事件(SSE)流,包含以下事件类型:
{
"status": "started"
}
{
"status": "processing",
"article": {
"title": "string",
"url": "string",
"snippet": "string",
"relevance_score": float
}
}
{
"status": "completed"
}
{
"status": "error",
"error": "错误信息"
}
/evaluate请求正文:
{
"article": {
"title": "string",
"snippet": "string"
}
}