SceneItem in scenario-based calls

Updated at:

Background

In some use cases, a general search cannot provide the precise information a query requires. This is especially true for queries that need data from specialized APIs, involve calculations, or rely on high-quality structured data that is not in a web page format. This data is often heterogeneous and requires intent recognition for correct recall. This document details the currently supported scenario-based calls. More scenarios will be supported in future updates.

Note

If the recall results include a matching SceneItem, prioritize it as the context to obtain more accurate results.

Note

This feature is incompatible with time range filtering. You must set the timeRange parameter to NoLimit.

Supported types

Type

Description

Example query

time

Time

query = current time in Tokyo

timeRange = NoLimit

weather

Weather

query = weather in West Lake, Hangzhou

timeRange = NoLimit

rili

Date information

query = what is today's date

timeRange = NoLimit

exchange_rate

Exchange rate

query = today's USD to JPY exchange rate

timeRange = NoLimit

stock_price

Stock price

query = Bank of China stock price

timeRange = NoLimit

gold_price

Metal price

query = today's gold price

timeRange = NoLimit

Data structure

Parameter

Is nullable

Description

Sample

type

No

The scenario type.

time

detail

No

A JSON string. For the specific data structure, see the documentation for each type.

{\"title\": \"Tokyo Time\", \"targetTimeZone\": \"Asia/Tokyo\", \"targetTimeMillisecond\": \"1741867198071\", \"targetTime\": \"2025-03-13 19:59:58\", \"beijingTimeZone\": \"PRC\", \"beijingTimeMillisecond\": \"1741863598071\"}