Omni(人工智能作业解算器)
POST
/v1/omni/question此端点需要帐户批准才能访问。请联系我们获取访问权限。
使用 AI 回答任何作业问题,比 GPT-4 更准确。
文字成本
字数成本: 3000
字数成本说明:无论请求大小,此端点均使用固定的 3,000 字数成本。可根据要求提供专业定价。
请求参数
Header 参数
content-type
string
必需
示例值:
application/json
Body 参数application/json
language
string
必需
question
string
必需
示例
{
"language": "string",
"question": "string"
}
示例代码
返回响应
成功(201)
请求有误(400)
HTTP 状态码: 201
内容格式: JSONapplication/json
数据结构
language
string
必需
generatedAnswer
object
必需
answer
string
必需
shortDescription
string
必需
longDescription
string
必需
chanceCorrect
integer
必需
chanceCorrectAdvancedModel
integer
必需
QAs
array [object {8}]
必需
question
string
可选
link
string
可选
answer
string
可选
isAcceptedAnswer
boolean
可选
alternativeAnswers
array[string]
可选
source
string
可选
position
integer
可选
upvotes
integer
可选
webResults
array [object {6}]
必需
title
string
可选
domain
string
可选
link
string
可选
snippet
string
可选
position
integer
可选
source
string
可选
imageResults
array [object {5}]
必需
position
integer
可选
title
string
可选
domain
string
可选
imageSrc
string
可选
link
string
可选
classification
object
必需
message
string
必需
answerable
boolean
必需
topic
string
必需
categorization
object
必需
generalSubject
string
必需
courseName
string
必需
topic
string
必需
mcq
boolean
必需
foundationalConcept
string
必需
theoretical
boolean
必需
mathRequired
boolean
必需
reasoningRequired
boolean
必需
difficulty
string
必需
示例
成功示例
{
"language": "string",
"generatedAnswer": {
"answer": "string",
"shortDescription": "string",
"longDescription": "string",
"chanceCorrect": 0,
"chanceCorrectAdvancedModel": 0
},
"QAs": [
{
"question": "string",
"link": "string",
"answer": "string",
"isAcceptedAnswer": true,
"alternativeAnswers": [
"string"
],
"source": "string",
"position": 0,
"upvotes": 0
}
],
"webResults": [
{
"title": "string",
"domain": "string",
"link": "string",
"snippet": "string",
"position": 0,
"source": "string"
}
],
"imageResults": [
{
"position": 0,
"title": "string",
"domain": "string",
"imageSrc": "string",
"link": "string"
}
],
"classification": {
"message": "string",
"answerable": true,
"topic": "string"
},
"categorization": {
"generalSubject": "string",
"courseName": "string",
"topic": "string",
"mcq": true,
"foundationalConcept": "string",
"theoretical": true,
"mathRequired": true,
"reasoningRequired": true,
"difficulty": "string"
}
}
最后修改时间: 7 个月前