NVIDIA BotMaker 执行服务器 (3.0.0-ea)

下载 OpenAPI 规范:下载

健康状况 API

状态

健康检查端点

响应

响应示例

内容类型
application/json
null

获取指标

响应

响应示例

内容类型
application/json
null

名称

响应

响应示例

内容类型
application/json
null

获取执行列表

响应

响应示例

内容类型
application/json
[
  • {
    }
]

股票

获取股票代码

获取公司名称并返回用于交易的股票代码参数 Args:company_name:公司名称,例如 Microsoft 返回:用于交易的股票代码,例如微软的 MSFT

查询参数
company_name
必需
string (公司名称)

响应

响应示例

内容类型
application/json
"string"

获取股票价格

从雅虎财经 API 获取股票价格

查询参数
company_name
必需
string (公司名称)

响应

响应示例

内容类型
application/json
0
0

获取市值

从雅虎财经 API 获取股票价格

查询参数
company_name
必需
string (公司名称)

响应

响应示例

内容类型
application/json
0
0

天气

获取天气

获取履行请求中提供的位置的天气信息 参数:request_data:DM 履行请求

请求正文架构:application/json
必需
UserId
必需
string (用户ID)
Domain
必需
string (领域)
Intent
必需
string (意图)
Language
必需
string (语言)
Query
必需
string (查询)
QueryId
必需
string (Queryid)
ProcessedQuery
必需
string (已处理查询)
SessionId
必需
string (会话ID)
StreamId
必需
string (流ID)
Event
string (事件)
NlpResp
object (Nlpresp)
Slots
object (槽位)
LinkedSlots
object (链接槽位)
FulfillmentSlots
object (履行槽位)
Parameters
object (参数)
History
object (历史记录)
Memory
object (内存)

响应

请求示例

内容类型
application/json
{
  • "UserId": "string",
  • "Domain": "string",
  • "Intent": "string",
  • "Language": "string",
  • "Query": "string",
  • "QueryId": "string",
  • "ProcessedQuery": "string",
  • "SessionId": "string",
  • "StreamId": "string",
  • "Event": "string",
  • "NlpResp": { },
  • "Slots": { },
  • "LinkedSlots": { },
  • "FulfillmentSlots": { },
  • "Parameters": { },
  • "History": { },
  • "Memory": { }
}

响应示例

内容类型
application/json
{
  • "UserResponse": { },
  • "Status": "",
  • "FulfillmentSlots": { },
  • "CustomData": { },
  • "InvalidSlots": [
    ],
  • "Slots": { },
  • "StatusDetails": "",
  • "Memory": { }
}

获取天气状况

返回给定位置的天气状况

查询参数
location
必需
string (位置)

响应

响应示例

内容类型
application/json
"string"

获取温度

返回给定位置的温度

查询参数
location
必需
string (位置)

响应

响应示例

内容类型
application/json
0
0

是否晴朗

检查给定位置的天气是否晴朗

查询参数
location
必需
string (位置)

响应

响应示例

内容类型
application/json
true

是否多云

检查给定位置的天气是否多云

查询参数
location
必需
string (位置)

响应

响应示例

内容类型
application/json
true

获取降雨量

返回给定位置的降雨量

查询参数
location
必需
string (位置)

响应

响应示例

内容类型
application/json
0
0

是否下雨

检查给定位置是否正在下雨

查询参数
location
必需
string (位置)

响应

响应示例

内容类型
application/json
true

是否下雪

检查给定位置是否正在下雪

查询参数
location
必需
string (位置)

响应

响应示例

内容类型
application/json
true

获取湿度

返回给定位置的湿度

查询参数
location
必需
string (位置)

响应

响应示例

内容类型
application/json
"string"

获取风速

返回给定位置的风速

查询参数
location
必需
string (位置)

响应

响应示例

内容类型
application/json
"string"