Skip to main content

RunSearchGeneration

AI Miaosou – Intelligent Search Generation: This API delivers the search and generation capabilities of the Miaosou homepage. It supports general search and media asset search, along with features such as user query clarification, multimodal knowledge search, and multi-agent generation. – General Search: Performs semantic retrieval on centralized knowledge data and applies multi-agent post-processing to the results, such as summary generation, abstracting, and timeline summarization. – Media Asset Search: Conducts an exhaustive full-text search to retrieve highly relevant knowledge and supports multi-agent post-processing, such as clustering and news extraction.

Operation description

Integration notes:

  • This API uses the HTTP Server-Sent Events (SSE) protocol.
  • The OpenAPI portal currently does not support the SSE inference protocol (direct debugging is not available). For API SDK integration examples (the Java and Python versions of the SDK are supported), see the Miaosou Best Practices documentation.
  • To obtain the latest version of the Java asynchronous SDK, click this link.
Supports three dataset types. See the Miaosou Best Practices documentation for details.
  • Built-in “Internet search” dataset: Supports open-domain text, images, and video (video is not yet available) from the Internet.
  • Semantic (RAG) dataset: Manages enterprise private knowledge bases and supports text, images, video, and voice (voice is not yet available).
  • Third-party API dataset: Integrates directly with your own enterprise search APIs.

Permissions

Prerequisites

  • Log on to the Alibaba Cloud Model Studio console and confirm that Model Studio is activated and available.
  • Primary account calls: a primary account has the permissions to call all APIs by default.
  • RAM user calls: a RAM user has no permission (AccessForbid) to call this API by default. You must grant permissions in both the RAM console and the Alibaba Cloud Model Studio console.

RAM console authorization

Go to the RAM console to grant permissions. For detailed RAM authorization operations, see the RAM documentation. The steps are as follows:

Grant the built-in permission policy

Grant the RAM user the " AliyunAiMiaoBiFullAccess " policy.

Model Studio console authorization

With the primary account or a RAM user with Model Studio administrator permissions, open Permissions and click Add User to add the target RAM user.

Try it now

You can call this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.

RAM authorization

The following table describes the authorization information for this API. You can use the Action element in RAM permission policy statements to grant RAM users or RAM roles the permission to call this API. Details are as follows:
  • Action: the specific permission point.
  • Access level: the access level of each action. Valid values: Write, Read, or List.
  • Resource type: the resource types supported for authorization in the action. Details are as follows:
    • Required resource types are marked with a leading asterisk (*).
    • For actions that do not support resource-level authorization, All Resources is used.
  • Condition key: the condition keys defined by the cloud service itself.
  • Dependent action: other permissions required to successfully perform the action. The caller must have the permissions of all dependent actions for the action to succeed.

Action

Access level

Resource type

Condition key

Dependent action

aimiaobi:RunSearchGeneration

create

*All Resource

*

NoneNone

Request syntax

POST /quanmiao/aimiaosou/runSearchGeneration HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
WorkspaceIdstringYesID of the Alibaba Cloud Model Studio workspace. To learn how to obtain this ID, see How to use workspaces.llm-xxx
TaskIdstringNoUnique identifier for the session task.
By default, you do not need to provide a TaskId. The system generates one automatically. If you specify the same TaskId in subsequent requests, those tasks are grouped into the same conversation.
7AA2AE16-D873-5C5F-9708-15396C382EB1
PromptstringNoSearch query.杭州亚运会吉祥物是什么
OriginalSessionIdstringNoOriginal session identifier. Usually empty. When non-empty, it indicates that the current conversation is based on the referenced session. The system loads parameters and search results from that session and replaces the generated result. Use this for re-generation, changing data sources, or adding new agents.xxx
ChatConfigobjectNoSession configuration.xxx
GenerateTechnologystringNoGeneration technology:
  • copilotReference: Q&A-style search
  • copilotPrecise: Pure search
Valid values:
  • copilotPrecise : copilotPrecise
  • copilotReference : copilotReference
copilotReference
SearchParamobjectNoSearch parameters.
StartTimeintegerNoStart time.1725983999999
EndTimeintegerNoEnd time.1725983999999
SearchSourcesarray<object>NoList of search sources.
objectNoSearch source:You must provide both Code and DatasetName to uniquely identify a search source.For the built-in Internet search, use:
  • Code = SystemSearch
  • DatasetName = QuarkCommonNews
CodestringNoSearch source type:
  • SystemSearch: Built-in system search
  • CustomSemanticSearch: Custom semantic index search
  • ThirdSearch: Third-party API search
Valid values:
  • SystemSearch : SystemSearch
  • ThirdSearch : ThirdSearch
  • CustomSemanticSearch : CustomSemanticSearch
SystemSearch
DatasetNamestringNoUnique identifier for the search source: matches the dataset name shown in the console, such as 4cb0eda3fad841758262dbe8d61191.QuarkCommonNews
MultimodalSearchTypesarrayNoSearch scope list.
stringNoSearch scope:
  • text: documents
  • image: images
  • audio: audio
  • video: video
Valid values:
  • image : image
  • text : text
  • video : video
text
SearchTextMinScorenumberNoText search threshold: Applies only to custom data sources (range: 0 to 1).0.66
SearchImageMinScorenumberNoImage search threshold: Applies only to custom data sources (range: 0 to 1).0.66
SearchVideoMinScorenumberNoVideo search threshold: Applies only to custom data sources (range: 0 to 1).0.66
SearchAudioMinScorenumberNoVoice search threshold: Applies only to custom data sources (range: 0 to 1).0.66
CategoryUuidsarrayNoUnique category identifier.
stringNoUnique category identifier.xx
TagsarrayNoTags.
stringNoA tag.xx
Extend1stringNoExtension field 1.xxx
Extend2stringNoExtension field 2.xxx
Extend3stringNoExtension field 3.xxx
CreateTimeStartintegerNoStart creation time, in UNIX timestamp format.111111111111
CreateTimeEndintegerNoEnd creation time, in UNIX timestamp format.111111111111
DocIdsarrayNoArray of document IDs.
stringNoDocument ID.x
DocUuidsarrayNoUnique document identifier.
stringNoUnique document identifier.x
SearchModelsarrayNoList of search types.
stringNoSearch type:
  • TextGenerate: Summarize and answer (default)
  • ExcerptGenerate: Answer using original sentences
  • TimelineGenerate: Summarize by timeline
  • PreciseSearch: Pure search (follow-up questions)
  • ClusterGenerate: Cluster
  • ExtractNewsElementGenerate: Extract news elements
Valid values:
  • TextGenerate : TextGenerate
  • ExtractNewsElementGenerate : ExtractNewsElementGenerate
  • ClusterGenerate : ClusterGenerate
  • TimelineGenerate : TimelineGenerate
  • ExcerptGenerate : ExcerptGenerate
TextGenerate
GenerateLevelstringNoDetailedness of the response:
  • concise: Concise (default)
  • enhance: Enhanced
  • free: Free-form
  • deepResearch: Research-level
Valid values:
  • concise : concise
  • enhance : enhance
concise
EnableThinkingbooleanNoEnable deep thinking.false
ExcludeGenerateOptionsarrayNoList of generation options to skip.
stringNoGeneration option to skip:
  • think (query rewriting)
  • multimodalSearchThink (multimodal search reasoning)
  • queryRecommend (query recommendation)
think
ModelCustomPromptTemplatestringNoPlain-text prompt template for Q&A-style search and summary generation. Must include variables {query} and {content}. Example:
# 角色
你是一个专业的文章检索和问答专家,擅长文章检索和回答用户问题。

# 任务目标
请你根据检索到的相关文章,回答或表述用户问题“{query}”。

# 任务限制
- 如果用户问题中提到具体日期,请考虑知识日期做筛选。
- 生成内容结构条理。
- 生成内容尽量精简。
- 不要使用其他数据,不要杜撰。
- 如果不能回答用户问题,请输出对应语言的拒识文案:
  - 中文:"根据已知信息无法回答。"
  - 英文:"Unable to answer based on the known information."

# 输入数据
## 检索到的相关文章
{content}

Role

You are an expert article retrieval and Q&A assistant, skilled in article retrieval and answering user questions.

Goal

Based on the retrieved relevant articles, answer or express the user's question “{query}”.

Constraints

  • If the user's question mentions a specific date, filter by knowledge date.
  • Structure the generated content clearly.
  • Keep the generated content concise.
  • Do not use other data, do not fabricate.
  • If you cannot answer the user's question, output the refusal message in the corresponding language:
    • Chinese: “Unable to answer based on known information.”
    • English: “Unable to answer based on the known information.”

Input data

Retrieved relevant articles

{content}
ModelCustomVlPromptTemplatestringNoPlain-text prompt template for Q&A-style search and summary generation. Must include variables {query} and {content}. Example:
# 角色
你是一个专业的文章检索和问答专家,擅长文章检索和回答用户问题。

# 任务目标
请你根据检索到的相关文章和图片,回答或表述用户问题“{query}”。

# 任务限制
- 如果用户问题中提到具体日期,请考虑知识日期做筛选。
- 生成内容结构条理。
- 生成内容尽量精简。
- 如果图片内容可以回答,可以忽略文章内容。
- 不要使用其他数据,不要杜撰。
- 如果不能回答用户问题,请输出对应语言的拒识文案:
    - 中文:"根据已知信息无法回答。"
    - 英文:"Unable to answer based on the known information."

# 输入数据
## 检索到的相关文章
{content}

Role

You are an expert article retrieval and Q&A assistant, skilled in article retrieval and answering user questions.

Goal

Based on the retrieved relevant articles and images, answer or express the user's question “{query}”.

Constraints

  • If the user's question mentions a specific date, filter by knowledge date.
  • Structure the generated content clearly.
  • Keep the generated content concise.
  • If the image content can answer the question, the article content can be ignored.
  • Do not use other data, do not fabricate.
  • If you cannot answer the user's question, output the refusal message in the corresponding language:
    • Chinese: “Unable to answer based on known information.”
    • English: “Unable to answer based on the known information.”

Input data

Retrieved relevant articles

{content}
AgentContextobjectNoContext.
BizContextobjectNoBusiness context.
MultimodalMediaSelectionobjectNoUser-provided or selected multimodal data.
SelectionTypestringNoThe type of referenced data source. Valid values: ‒ all: Retrieves the full data from historical sessions. This value is supported only in clustering scenarios. ‒ selected: Retrieves data from textSearchResult during generation.all
SessionIdstringNoUnique identifier for the session used as reference during generation. Used for clustering in media asset search.3f7045e099474ba28ceca1b4eb6d6e21
OriginalSessionIdstringNoUnique identifier for the original session. Used to retrieve full results from that session. Required only for media asset search.Original session unique identifier: search results are taken in full from this session; currently only required for media asset search scenarios.
SearchModelstringNoUsed only for clustering. Pass ClusterGenerate when performing secondary clustering on cluster subtopics.TextGenerate
SearchModelDataValuestringNoWhen SearchModel = ClusterGenerate, enter the topic name for the subtopic. Include quotation marks if the original value has them.分类1
TextSearchResultobjectNoText search results.
SearchResultarray<object>NoList of text search results.
objectNoText search result.
SearchSourceTypestringNoSearch source type. Same as searchSource.code.SystemSearch
SearchSourcestringNoUnique identifier for the search source. Same as searchSource.datasetName.QuarkCommonNews
SearchSourceNamestringNoName of the search source.互联网搜索
PubTimestringNoPublication time.2024-11-25 14:25:59
SourcestringNoSource.新华社
TitlestringNoTitle.文章标题
ContentstringNoContent.文章内容
UrlstringNoArticle URL.https://www.example.com/aaa.docx
SummarystringNoArticle summary.文章摘要
DocUuidstringNoInternal unique document identifier.xxx
ScorenumberNoRelevance score.1
ChunksarrayNoRelevant chunks.
stringNoChunk.xx
DocIdstringNoCustom unique document ID.文档-自定义的唯一ID
SkipCurrentSupplementbooleanNoSkip follow-up questions.false
AskUserstringNoFollow-up question.您想了解关于xx的哪些信息?
AskUserKeywordsarrayNoList of recommended keywords for follow-up questions.
stringNoRecommended keyword for follow-up questions.xx
UserBackstringNoUser feedback to follow-up questions.地点
UserBackKeywordsarrayNoList of keywords from user feedback to follow-up questions.
stringNoKeyword from user feedback to follow-up questions.xx
CurrentStepstringNoCurrent step.think
NextStepstringNoNext step.generate
SupplementDataTypestringNoData type needed for reasoning: searchQuery.searchQuery
SupplementEnablebooleanNoSpecifies whether supplementation is required.true
ModelIdstringNoModel ID:
  • quanmiao-max: Quanmiao-Max
  • quanmiao-plus: Quanmiao-Plus
quanmiao-max
FileUrlstringNoImage URL. Used for image search and hybrid text-and-image (prompt) search generation.http://xxxx

Response elements

Element

Type

Description

Example

object

Response schema.

Payload

object

Response body.

Output

object

Outputs.

AgentContext

object

Context data.

BizContext

object

Business context.

CurrentStep

string

Current step in the task.

start

NextStep

string

Next step: think, search, or generate.

search

GeneratedContent

object

Generated content.

ClusterTopicResult

object

Clustering result.

ClusterTopics

array<object>

List of clusters.

array<object>

Cluster.

Topic

string

Topic.

xx

ImageSearchResult

object

Image search result.

SearchResult

array<object>

List of search results.

array<object>

Search result.

Article

object

Article.

SearchSourceName

string

Search source name.

互联网搜索

Title

string

Title.

xx

Url

string

Article URL.

xx

Summary

string

Summary.

xx

DocUuid

string

Internal unique document identifier.

xx

DocId

string

Custom unique document ID.

xx

CategoryUuid

string

Unique category identifier.

xx

Tags

array

Tags.

string

Tag value.

xx

Extend1

string

Extension field 1.

xx

Extend2

string

Extension field 2.

xx

Extend3

string

Extension field 3.

xx

SearchSourceType

string

Dataset type.

xx

SearchSource

string

Dataset unique identifier.

xx

MediaId

string

Unique multimodal data identifier.

xx

FileUrl

string

File URL.

xx

Current

integer

Current page number.

1

Size

integer

Records per page.

1

Total

integer

Total records.

1

TextSearchResult

object

Document search results

SearchResult

array<object>

Search results list

array<object>

Search results

SearchSourceType

string

Search source type, same as searchSource.code.

SystemSearch

SearchSource

string

The unique identifier of the search source. This is the same as searchSource.datasetName.

QuarkCommonNews

SearchSourceName

string

The name of the search source.

互联网搜索

PubTime

string

Publication time, in the format yyyy-MM-dd HH:mm:ss

2023-04-04 08:39:09

Title

string

Title

xx

Url

string

Article URL

xx

Summary

string

Summary

xx

DocUuid

string

Unique identifier for internal documents.

xx

DocId

string

The custom unique ID of the document.

xx

MultimodalMedias

array<object>

A list of multimodal information.

object

Multimodal media information

MediaId

string

The unique ID of the multimodal data.

xx

MediaType

string

Multimodal data file type. Valid values:

  • video: Video.

  • image: Image.

image

FileUrl

string

The URL of the file.

xx

CategoryUuid

string

Category unique identifier

xx

Tags

array

Tags

string

Tag

xx

Extend1

string

Extension field 1

xx

Extend2

string

Extension field 2

xx

Extend3

string

Extension field 3

xx

Current

integer

Current page number

1

Size

integer

Number of records per page

1

Total

integer

The total number of entries.

1

VideoSearchResult

object

Video search results

SearchResult

array<object>

Search results

array<object>

Search results

Article

object

Article

SearchSourceName

string

The name of the search source.

互联网搜索

Title

string

Title

xx

Url

string

The URL of the article.

xx

Summary

string

Summary

xx

DocUuid

string

The unique identifier of the internal document.

xx

DocId

string

Document: a custom unique ID

xx

CategoryUuid

string

Category

xx

Tags

array

Tags

string

Tag

xx

Extend1

string

Extension field 1

xx

Extend2

string

Extension field 2

xx

Extend3

string

Extension field 3

x

SearchSourceType

string

Dataset type

xx

SearchSource

string

The unique identifier of the dataset.

xx

MediaId

string

Unique identifier for the multimodal data

xx

ClipInfos

array<object>

A list of matching information.

object

Match information

Score

number

Reference confidence level

0.9

From

number

Start time

1

To

number

End time

1

Text

string

Corresponding text, such as ASR transcription results.

xx

Type

string

Text type, such as ASR.

asr

FileUrl

string

The URL of the file.

xx

Current

integer

The current page number.

1

Size

integer

Number of records per page

1

Total

integer

Total records

1

AudioSearchResult

object

Audio result

SearchResult

object

Audio search results

FileUrl

string

URL

http://xx

MediaId

string

The ID.

xxx

ClipInfos

array<object>

List of matching information

object

Match information

Score

number

The threshold.

1

From

number

Start position

1

To

number

The end position.

1

Text

string

Text content

xx

Type

string

Type

asr

Article

object

Corresponding document

Title

string

Title

xx

Url

string

The URL of the article.

http://xx

Summary

string

Summary

xx

DocUuid

string

docUuid

xx

DocId

string

docId

xx

SearchSourceName

string

Search source

xx

CategoryUuid

string

Category identity

xx

Tags

array

Tag name

string

Tag value.

xx

Extend1

string

Extension field 1

xx

Extend2

string

Extension field 2

xx

Extend3

string

Extension field 3

xx

SearchSourceType

string

The type of the dataset.

xx

SearchSource

string

Unique identifier of the dataset

xx

Current

integer

Current page

1

Size

integer

Size

1

Total

integer

Total count

1

TextGenerate

string

Text result.

xx

GenerateFinished

boolean

Indicates whether the current agent has finished generating.

true

ExcerptResult

object

Result of answering with original sentences.

TextGenerate

string

Generated text.

xx

SearchResult

array<object>

List of search results.

array<object>

Search result.

TraceabilityId

integer

Traceability ID.

1

SearchSourceType

string

Search source type. Same as searchSource.code.

SystemSearch

SearchSource

string

Search source unique identifier. Same as searchSource.datasetName.

QuarkCommonNews

SearchSourceName

string

Search source name.

互联网搜索

PubTime

string

Publication time. Format: yyyy-MM-dd HH:mm:ss.

2023-04-04 08:39:09

Title

string

Title.

xx

Content

string

Body.

xx

Url

string

Article URL.

xx

Summary

string

Summary.

xx

Excerpt

string

Content answered with original sentences.

xx

Select

boolean

Indicates whether it is a reference.

true

DocUuid

string

Internal unique document identifier.

xx

Score

number

Confidence score. For reference only.

0.99

Chunks

array

List of chunks.

string

Chunk.

xx

DocId

string

Custom unique document ID.

xx

TextGenerateMultimodalMediaList

array<object>

List of accompanying images.

array<object>

Accompanying image.

Start

integer

Start position.

1

End

integer

End position.

1

DocUuid

string

Internal unique document identifier.

xx

MultimodalMediaList

array<object>

List of multimodal data.

array<object>

Multimodal data.

Article

object

Article.

DocId

string

Custom unique document ID.

xx

DocUuid

string

Internal unique document identifier.

xx

SearchSourceName

string

Search source name.

互联网搜索

Title

string

Title.

xx

Url

string

Article URL.

xx

MediaId

string

Unique multimodal data identifier.

xx

MediaType

string

Multimodal file type. Valid values: video, image.

image

FileUrl

string

File URL.

xx

MultimodalMedias

array<object>

List of multimodal information items.

object

Multimodal information item.

MediaId

string

Unique multimodal data identifier.

xx

MediaType

string

Multimodal file type. Valid values:

  • video: video

  • image: image

image

FileUrl

string

File URL.

xx

CategoryUuid

string

Unique category identifier.

xx

Extend1

string

Extension field 1.

xx

Extend2

string

Extension field 2.

xx

Extend3

string

Extension field 3.

xx

Tags

array

Tag name.

string

Tag name.

xx

GenerateFinished

boolean

Indicates whether the current agent has finished generating.

true

GenerateLevel

string

Detailedness of the response:

  • concise: Concise (default)

  • enhance: Enhanced

concise

ReasonTextGenerate

string

Deep thinking content.

xx

NewsElementResult

object

News extraction result.

TextGenerate

string

Generated text content.

x

NewsElementArticleList

array<object>

List of news extractions.

array<object>

News extraction.

TextGenerate

string

Generated text content.

xx

Article

object

Article.

SearchSourceType

string

Search source type. Same as searchSource.code.

SystemSearch

SearchSource

string

Search source unique identifier. Same as searchSource.datasetName.

QuarkCommonNews

SearchSourceName

string

Search source name.

互联网搜索

PubTime

string

Publication time. Format: yyyy-MM-dd HH:mm:ss.

2023-04-04 08:39:09

Title

string

Title.

xx

Content

string

Body.

xx

Url

string

Article URL.

xx

Summary

string

Summary.

xx

Select

boolean

Indicates whether it is a reference.

true

DocUuid

string

Internal unique document identifier.

xx

Score

number

Confidence score. For reference only.

0.99

DocId

string

Custom unique document ID.

xx

CategoryUuid

string

Unique category identifier.

xx

Tags

array

Tag name.

string

Tag name.

xx

Extend1

string

Extension field 1.

xx

Extend2

string

Extension field 2.

xx

Extend3

string

Extension field 3.

xx

NewsElementList

array<object>

List of news items.

array<object>

News item.

Time

string

Time.

时间

Location

string

Location.

xx

People

string

People.

xx

Event

object

Event.

task-started

CauseList

array

List of causes.

string

Cause.

xx

ProcessList

array

List of processes.

string

Process.

xx

ResultList

array

List of results.

string

Result.

xx

GenerateFinished

boolean

Indicates whether the current agent has finished generating.

true

TextGenerateResult

object

Summarized answer.

TextGenerate

string

Text generation result.

xx

TextGenerateMultimodalMediaList

array<object>

List of accompanying images.

array<object>

Accompanying image.

Start

integer

Start position.

1

End

integer

End position.

1

MultimodalMediaList

array<object>

List of multimodal data.

array<object>

Multimodal data.

Article

object

Article.

SearchSourceName

string

Search source name.

xx

Title

string

Title.

xx

Url

string

Article URL.

xx

Summary

string

Summary.

xx

DocUuid

string

Internal unique document identifier.

xx

DocId

string

Custom unique document ID.

xx

MediaId

string

Media asset ID.

xx

MediaType

string

Multimodal file type. Valid values: video, image.

image

FileUrl

string

File URL.

xx

ReferenceList

array<object>

List of reference articles.

object

Reference article.

TraceabilityId

integer

Traceability ID.

1

SearchSourceType

string

Search source type. Same as searchSource.code.

SystemSearch

SearchSource

string

Search source unique identifier. Same as searchSource.datasetName.

QuarkCommonNews

SearchSourceName

string

Search source name.

互联网搜索

PubTime

string

Publication time. Format: yyyy-MM-dd HH:mm:ss.

2023-04-04 08:39:09

Source

string

Source.

新华社

Title

string

Title.

xx

Content

string

Body.

xx

Url

string

Article URL.

xx

Summary

string

Summary.

xx

Select

boolean

Indicates whether it is a reference.

true

DocUuid

string

Internal unique document identifier.

xx

Score

number

Confidence score. For reference only.

0.99

Chunks

array

List of chunks.

string

Chunk.

xx

DocId

string

Custom unique document ID.

xx

CategoryUuid

string

Category unique identifier

xx

Tags

array

Tag name.

string

Tag name.

xx

Extend1

string

Extension field 1.

xx

Extend2

string

Extension field 2.

xx

Extend3

string

Extension field 3.

xx

MultimodalSearchResultList

array<object>

List of multimodal search results.

array<object>

Multimodal search result.

SearchResult

array<object>

List of search results.

array<object>

Search result.

Article

object

Article.

SearchSourceName

string

Search source name.

xx

Title

string

Title.

xx

Url

string

Article URL.

xx

Summary

string

Summary.

xx

DocUuid

string

Internal unique document identifier.

xx

DocId

string

Custom unique document ID.

xx

MediaId

string

Media asset ID.

xx

MediaType

string

Multimodal file type. Valid values: video, image.

image

ClipInfos

array<object>

List of matching segments.

object

Matching segment.

Score

number

Confidence score. For reference only.

0.1

From

number

Start time.

1

To

number

End time.

1

Text

string

Corresponding text, such as ASR transcription.

xx

Type

string

Type. Example: asr.

asr

FileUrl

string

File URL.

xx

TimelineDateStr

string

Timeline date.

时间脉络-时间

Current

integer

Current page.

1

Size

integer

Items per page.

1

Total

integer

Total items.

1

SearchType

string

Search type.

realtime

SearchQuery

string

Search query.

xx

GenerateTraceability

object

Traceability information.

Duplicate

number

Overall traceability relevance.

0.9

Coordinates

array<object>

List of traceability locations.

array<object>

Traceability location.

GenerateCoordinate

object

Coordinates of the generated document block.

X

integer

Number, starting from 1.

1

Y

integer

Start position.

1

Z

integer

End position.

1

NewsCoordinate

object

Coordinates of the reference document block.

X

integer

Number, starting from 1.

1

Y

integer

Start position.

1

Z

integer

End position.

1

MediaType

string

Media asset type.

image

GenerateFinished

boolean

Indicates whether the current agent has finished generating.

true

GenerateLevel

string

Detailedness of the response:

  • concise: Concise (default)

  • enhance: Enhanced

concise

ReasonTextGenerate

string

Deep thinking content.

xx

TimelineResult

object

Result of summarizing by time.

TextGenerate

string

Text generation result.

xx

ReferenceList

array<object>

List of reference articles.

object

Reference article.

TraceabilityId

integer

Traceability ID.

1

SearchSourceType

string

Search source type. Same as searchSource.code.

SystemSearch

SearchSource

string

Search source unique identifier. Same as searchSource.datasetName.

QuarkCommonNews

SearchSourceName

string

Search source name.

互联网搜索

PubTime

string

Publication time. Format: yyyy-MM-dd HH:mm:ss.

2023-04-04 08:39:09

Source

string

Source.

新华社

Title

string

Title.

xx

Content

string

Body.

xx

Url

string

Article URL.

xx

Summary

string

Summary.

xx

Select

boolean

Selection status.

true

DocUuid

string

Internal unique document identifier.

xx

Score

number

Confidence score. For reference only.

0.99

Chunks

array

List of chunks.

string

Chunk.

xx

DocId

string

Custom unique document ID.

xx

CategoryUuid

string

Unique category identifier.

xx

Tags

array

Tag name.

string

Tag name.

xx

Extend1

string

Extension field 1.

xx

Extend2

string

Extension field 2.

xx

Extend3

string

Extension field 3.

xx

MultimodalSearchResultList

array<object>

List of multimodal search results.

array<object>

Multimodal search result.

SearchResult

array<object>

List of search results.

array<object>

Search result.

Article

object

Article.

SearchSourceName

string

Search source name.

互联网搜索

Title

string

Title.

xx

Url

string

Article URL.

xx

Summary

string

Summary.

xx

DocUuid

string

Internal unique document identifier.

xx

DocId

string

Custom unique document ID.

xx

MediaId

string

Unique multimodal data identifier.

xx

MediaType

string

Multimodal file type. Valid values: video, image.

image

ClipInfos

array<object>

List of matching segments.

object

Matching segment.

Score

number

Confidence score. For reference only.

0.99

From

number

Start time.

1

To

number

End time.

1

Text

string

Corresponding text, such as ASR transcription.

xx

Type

string

Type. Example: asr.

asr

FileUrl

string

File URL.

xx

TimelineDateStr

string

Date string.

2024-09-11

GenerateTraceability

object

Traceability information.

Duplicate

number

Relevance score.

0.9

Coordinates

array<object>

Traceability location.

array<object>

Traceability location.

GenerateCoordinate

object

Coordinates of the generated document block.

X

integer

Number, starting from 1.

1

Y

integer

Start position.

1

Z

integer

End position.

1

NewsCoordinate

object

Coordinates of the reference article.

X

integer

Number, starting from 1.

1

Y

integer

Start position.

1

Z

integer

End position.

1

MediaType

string

Media asset type.

image

TextGenerateMultimodalMediaList

array<object>

List of accompanying images.

array<object>

Accompanying image.

Start

integer

Start position.

1

End

integer

End position.

1

MultimodalMediaList

array<object>

List of multimodal data.

array<object>

Multimodal data.

Article

object

Article.

SearchSourceName

string

Search source name.

互联网搜索

Title

string

Title.

xxxx

Url

string

Article URL.

xx

Summary

string

Summary.

xx

DocUuid

string

Internal unique document identifier.

xx

DocId

string

Custom unique document ID.

xx

MediaId

string

Unique multimodal data identifier.

xx

MediaType

string

Multimodal file type. Valid values: video, image.

image

FileUrl

string

File URL.

xx

GenerateFinished

boolean

Indicates whether the current agent has finished generating.

true

ReasonTextGenerate

string

Deep thinking content.

xx

VideoSearchResult

object

Video search result.

SearchResult

array<object>

List of search results.

array<object>

Search result.

Article

object

Article.

SearchSourceName

string

Search source name.

互联网搜索

Title

string

Title.

xx

Url

string

Article URL.

xx

Summary

string

Summary.

xx

DocUuid

string

Internal unique document identifier.

xx

DocId

string

Custom unique document ID.

xx

CategoryUuid

string

Unique category identifier.

xx

Tags

array

Tags.

string

Tag.

xx

Extend1

string

Extension field 1.

xx

Extend2

string

Extension field 2.

xx

Extend3

string

Extension field 3.

xx

MediaId

string

Unique multimodal data identifier.

xx

ClipInfos

array<object>

List of matching segments.

object

Matching segment.

Score

number

Confidence score. For reference only.

0.8

From

number

Start time of the segment.

1

To

number

End time.

1

Text

string

Corresponding text, such as ASR transcription.

xx

Type

string

Type. Example: asr.

asr

FileUrl

string

File URL.

xx

TraceabilityId

string

Unique traceability identifier.

1

ImageSearchResult

object

Image search result.

SearchResult

array<object>

List of search results.

array<object>

Search result.

Article

object

Article.

SearchSourceName

string

Search source name.

互联网搜索

Title

string

Title.

xx

Url

string

Article URL.

xx

Summary

string

Article summary.

xx

DocUuid

string

Internal unique document identifier.

xx

DocId

string

Custom unique document ID.

xx

CategoryUuid

string

Unique category identifier.

xx

Tags

array

Tag name.

string

Tag name.

xx

Extend1

string

Extension field 1.

xx

Extend2

string

Extension field 2.

xx

Extend3

string

Extension field 3.

xx

MediaId

string

Media data unique identifier.

xx

FileUrl

string

File URL.

xx

TraceabilityId

string

Unique traceability identifier.

1

TextSearchResult

object

Text document search result.

Current

integer

Current page.

1

Size

integer

Current page size.

1

Total

integer

Total count.

1

SearchResult

array<object>

The structure of the search result.

object

Search result.

DocId

string

Unique document business identifier.

xx

DocUuid

string

System internal unique document identifier.

xx

SearchSourceType

string

Data source type.

SystemSearch

SearchSource

string

Data source unique identifier.

QuarkCommonNews

SearchSourceName

string

Data source description.

xxx

PubTime

string

Publication time.

2024-11-25 14:25:59

Content

string

Body.

xx

Url

string

URL.

xx

Title

string

Title.

xx

Summary

string

Summary.

xx

TraceabilityId

string

Unique traceability identifier.

1

CategoryUuid

string

Unique category identifier.

xx

Tags

array

Tag name.

string

Tag name.

xx

Extend1

string

Extension field 1.

xx

Extend2

string

Extension field 2.

xx

Extend3

string

Extension field 3.

xx

AudioSearchResult

object

Voice search result.

SearchResult

array<object>

Voice search result.

array<object>

Voice search result.

MediaId

string

ID.

xxx

FileUrl

string

URL.

http://xxx

Article

object

Associated document.

Title

string

Title.

xx

Url

string

URL.

http://xxx

Summary

string

Summary.

xxx

DocUuid

string

UUID.

xx

DocId

string

ID.

xx

SearchSourceName

string

Search source.

xx

Extend1

string

Extension field 1.

xx

Extend2

string

Extension field 2.

xx

Extend3

string

Extension field 3.

xx

Tags

array

List of tags.

string

Tag value.

x

CategoryUuid

string

Unique category identifier.

xx

ClipInfos

array<object>

List of matching segments.

object

Matching segment.

Score

number

Threshold.

0.9

From

number

Start position.

1

To

number

End position.

2

Text

string

Text content.

xx

Type

string

Text type.

asr

TraceabilityId

string

Unique traceability identifier.

1

SearchKeywords

array

Reasoning - list of query understanding keywords.

string

Reasoning - query understanding keyword.

xx

SearchQueryList

array

List of text search queries.

string

Text search query.

xx

RecommendSearchQueryList

array

Generation - list of recommendations.

string

Generation - recommendation.

xx

SupplementDataType

string

Reasoning - data type to supplement: searchQuery.

searchQuery

SupplementEnable

boolean

Reasoning - whether supplementation is needed.

true

ModelId

string

Model ID.

xx

TokenCalculate

object

Runtime performance statistics.

FirstTokenTime

number

First token time.

1

SearchTime

number

Search time cost.

1

OutputAvgTime

number

Average number of tokens output per second.

1

Time

number

Total time cost.

1

TotalTokens

integer

Total number of tokens.

1

AskUser

string

Follow-up question.

您想了解关于xx的哪些信息?

AskUserKeywords

array

List of recommended keywords for follow-up questions.

string

Recommended keyword for follow-up questions.

时间

Messages

array<object>

List of messages in research mode.

array<object>

Message in research mode.

Id

string

Node ID.

xx

Content

string

Generated text.

xx

GenerateFinished

boolean

Indicates whether the current node has finished.

Clarifications

boolean

Indicates whether clarification is needed.

SearchQueries

array

List of search queries.

string

Search query.

xx

SearchResult

array<object>

Search result.

array<object>

Search result.

MultimodalSearchQuery

string

Multimodal search query.

xx

Texts

array<object>

List of text searches.

object

Text search.

DocUuid

string

ID.

xx

Images

array<object>

List of image searches.

object

Image search.

MediaId

string

ID.

xx

Audios

array<object>

List of audio results.

object

Audio result.

MediaId

string

ID.

xx

Videos

array<object>

List of video results.

object

Video result.

MediaId

string

ID.

1

NodeCode

string

Node code:

  • generateStartStatement

  • generateSearchQueries

  • multiSearch

  • readSearchResult

  • reflection

  • generate

generateStartStatement

SearchQuery

string

Current node search query.

xx

Usage

object

Token usage.

OutputTokens

integer

The number of output tokens.

2

InputTokens

integer

The number of input tokens.

1

TotalTokens

integer

Total token count

3

Header

object

Response header.

SessionId

string

Conversation ID.

x

TraceId

string

Full link ID.

xx

TaskId

string

Task ID.

x

OriginSessionId

string

Source session ID.

3f7045e099474ba28ceca1b4eb6d6e21

Event

string

SSE event.

task-failed

ErrorCode

string

Error code.

AccessForbid

ErrorMessage

string

Error message.

xx

EventInfo

string

Event description.

xx

ResponseTime

integer

Response time, in milliseconds (ms).

1

RequestId

string

Unique request identifier.

xx

Examples

Success response JSON format
{
  "Payload": {
    "Output": {
      "AgentContext": {
        "BizContext": {
          "CurrentStep": "start",
          "NextStep": "search",
          "GeneratedContent": {
            "ClusterTopicResult": {
              "ClusterTopics": [
                {
                  "Topic": "xx",
                  "ImageSearchResult": {
                    "SearchResult": [
                      {
                        "Article": {
                          "SearchSourceName": "互联网搜索",
                          "Title": "xx",
                          "Url": "xx",
                          "Summary": "xx",
                          "DocUuid": "xx",
                          "DocId": "xx",
                          "CategoryUuid": "xx",
                          "Tags": [
                            "xx"
                          ],
                          "Extend1": "xx",
                          "Extend2": "xx",
                          "Extend3": "xx",
                          "SearchSourceType": "xx",
                          "SearchSource": "xx"
                        },
                        "MediaId": "xx",
                        "FileUrl": "xx"
                      }
                    ],
                    "Current": 1,
                    "Size": 1,
                    "Total": 1
                  },
                  "TextSearchResult": {
                    "SearchResult": [
                      {
                        "SearchSourceType": "SystemSearch",
                        "SearchSource": "QuarkCommonNews",
                        "SearchSourceName": "互联网搜索",
                        "PubTime": "2023-04-04 08:39:09",
                        "Title": "xx",
                        "Url": "xx",
                        "Summary": "xx",
                        "DocUuid": "xx",
                        "DocId": "xx",
                        "MultimodalMedias": [
                          {
                            "MediaId": "xx",
                            "MediaType": "image",
                            "FileUrl": "xx"
                          }
                        ],
                        "CategoryUuid": "xx",
                        "Tags": [
                          "xx"
                        ],
                        "Extend1": "xx",
                        "Extend2": "xx",
                        "Extend3": "xx"
                      }
                    ],
                    "Current": 1,
                    "Size": 1,
                    "Total": 1
                  },
                  "VideoSearchResult": {
                    "SearchResult": [
                      {
                        "Article": {
                          "SearchSourceName": "互联网搜索",
                          "Title": "xx",
                          "Url": "xx",
                          "Summary": "xx",
                          "DocUuid": "xx",
                          "DocId": "xx",
                          "CategoryUuid": "xx",
                          "Tags": [
                            "xx"
                          ],
                          "Extend1": "xx",
                          "Extend2": "xx",
                          "Extend3": "x",
                          "SearchSourceType": "xx",
                          "SearchSource": "xx"
                        },
                        "MediaId": "xx",
                        "ClipInfos": [
                          {
                            "Score": 0.9,
                            "From": 1,
                            "To": 1,
                            "Text": "xx",
                            "Type": "asr"
                          }
                        ],
                        "FileUrl": "xx"
                      }
                    ],
                    "Current": 1,
                    "Size": 1,
                    "Total": 1
                  },
                  "AudioSearchResult": {
                    "SearchResult": {
                      "FileUrl": "http://xx",
                      "MediaId": "xxx",
                      "ClipInfos": [
                        {
                          "Score": 1,
                          "From": 1,
                          "To": 1,
                          "Text": "xx",
                          "Type": "asr"
                        }
                      ],
                      "Article": {
                        "Title": "xx",
                        "Url": "http://xx",
                        "Summary": "xx",
                        "DocUuid": "xx",
                        "DocId": "xx",
                        "SearchSourceName": "xx",
                        "CategoryUuid": "xx",
                        "Tags": [
                          "xx"
                        ],
                        "Extend1": "xx",
                        "Extend2": "xx",
                        "Extend3": "xx",
                        "SearchSourceType": "xx",
                        "SearchSource": "xx"
                      }
                    },
                    "Current": 1,
                    "Size": 1,
                    "Total": 1
                  }
                }
              ],
              "TextGenerate": "xx",
              "GenerateFinished": true
            },
            "ExcerptResult": {
              "TextGenerate": "xx",
              "SearchResult": [
                {
                  "TraceabilityId": 1,
                  "SearchSourceType": "SystemSearch",
                  "SearchSource": "QuarkCommonNews",
                  "SearchSourceName": "互联网搜索",
                  "PubTime": "2023-04-04 08:39:09",
                  "Title": "xx",
                  "Content": "xx",
                  "Url": "xx",
                  "Summary": "xx",
                  "Excerpt": "xx",
                  "Select": true,
                  "DocUuid": "xx",
                  "Score": 0.99,
                  "Chunks": [
                    "xx"
                  ],
                  "DocId": "xx",
                  "TextGenerateMultimodalMediaList": [
                    {
                      "Start": 1,
                      "End": 1,
                      "DocUuid": "xx",
                      "MultimodalMediaList": [
                        {
                          "Article": {
                            "DocId": "xx",
                            "DocUuid": "xx",
                            "SearchSourceName": "互联网搜索",
                            "Title": "xx",
                            "Url": "xx"
                          },
                          "MediaId": "xx",
                          "MediaType": "image",
                          "FileUrl": "xx"
                        }
                      ]
                    }
                  ],
                  "MultimodalMedias": [
                    {
                      "MediaId": "xx",
                      "MediaType": "image",
                      "FileUrl": "xx"
                    }
                  ],
                  "CategoryUuid": "xx",
                  "Extend1": "xx",
                  "Extend2": "xx",
                  "Extend3": "xx",
                  "Tags": [
                    "xx"
                  ]
                }
              ],
              "GenerateFinished": true,
              "GenerateLevel": "concise",
              "ReasonTextGenerate": "xx"
            },
            "NewsElementResult": {
              "TextGenerate": "x",
              "NewsElementArticleList": [
                {
                  "TextGenerate": "xx",
                  "Article": {
                    "SearchSourceType": "SystemSearch",
                    "SearchSource": "QuarkCommonNews",
                    "SearchSourceName": "互联网搜索",
                    "PubTime": "2023-04-04 08:39:09",
                    "Title": "xx",
                    "Content": "xx",
                    "Url": "xx",
                    "Summary": "xx",
                    "Select": true,
                    "DocUuid": "xx",
                    "Score": 0.99,
                    "DocId": "xx",
                    "CategoryUuid": "xx",
                    "Tags": [
                      "xx"
                    ],
                    "Extend1": "xx",
                    "Extend2": "xx",
                    "Extend3": "xx"
                  },
                  "NewsElementList": [
                    {
                      "Time": "时间",
                      "Location": "xx",
                      "People": "xx",
                      "Event": {
                        "CauseList": [
                          "xx"
                        ],
                        "ProcessList": [
                          "xx"
                        ],
                        "ResultList": [
                          "xx"
                        ]
                      }
                    }
                  ]
                }
              ],
              "GenerateFinished": true
            },
            "TextGenerateResult": {
              "TextGenerate": "xx",
              "TextGenerateMultimodalMediaList": [
                {
                  "Start": 1,
                  "End": 1,
                  "MultimodalMediaList": [
                    {
                      "Article": {
                        "SearchSourceName": "xx",
                        "Title": "xx",
                        "Url": "xx",
                        "Summary": "xx",
                        "DocUuid": "xx",
                        "DocId": "xx"
                      },
                      "MediaId": "xx",
                      "MediaType": "image",
                      "FileUrl": "xx"
                    }
                  ]
                }
              ],
              "ReferenceList": [
                {
                  "TraceabilityId": 1,
                  "SearchSourceType": "SystemSearch",
                  "SearchSource": "QuarkCommonNews",
                  "SearchSourceName": "互联网搜索",
                  "PubTime": "2023-04-04 08:39:09",
                  "Source": "新华社",
                  "Title": "xx",
                  "Content": "xx",
                  "Url": "xx",
                  "Summary": "xx",
                  "Select": true,
                  "DocUuid": "xx",
                  "Score": 0.99,
                  "Chunks": [
                    "xx"
                  ],
                  "DocId": "xx",
                  "CategoryUuid": "xx",
                  "Tags": [
                    "xx"
                  ],
                  "Extend1": "xx",
                  "Extend2": "xx",
                  "Extend3": "xx"
                }
              ],
              "MultimodalSearchResultList": [
                {
                  "SearchResult": [
                    {
                      "Article": {
                        "SearchSourceName": "xx",
                        "Title": "xx",
                        "Url": "xx",
                        "Summary": "xx",
                        "DocUuid": "xx",
                        "DocId": "xx"
                      },
                      "MediaId": "xx",
                      "MediaType": "image",
                      "ClipInfos": [
                        {
                          "Score": 0.1,
                          "From": 1,
                          "To": 1,
                          "Text": "xx",
                          "Type": "asr"
                        }
                      ],
                      "FileUrl": "xx"
                    }
                  ],
                  "TimelineDateStr": "时间脉络-时间",
                  "Current": 1,
                  "Size": 1,
                  "Total": 1,
                  "SearchType": "realtime",
                  "SearchQuery": "xx"
                }
              ],
              "GenerateTraceability": {
                "Duplicate": 0.9,
                "Coordinates": [
                  {
                    "GenerateCoordinate": {
                      "X": 1,
                      "Y": 1,
                      "Z": 1
                    },
                    "NewsCoordinate": {
                      "X": 1,
                      "Y": 1,
                      "Z": 1,
                      "MediaType": "image"
                    }
                  }
                ]
              },
              "GenerateFinished": true,
              "GenerateLevel": "concise",
              "ReasonTextGenerate": "xx"
            },
            "TimelineResult": {
              "TextGenerate": "xx",
              "ReferenceList": [
                {
                  "TraceabilityId": 1,
                  "SearchSourceType": "SystemSearch",
                  "SearchSource": "QuarkCommonNews",
                  "SearchSourceName": "互联网搜索",
                  "PubTime": "2023-04-04 08:39:09",
                  "Source": "新华社",
                  "Title": "xx",
                  "Content": "xx",
                  "Url": "xx",
                  "Summary": "xx",
                  "Select": true,
                  "DocUuid": "xx",
                  "Score": 0.99,
                  "Chunks": [
                    "xx"
                  ],
                  "DocId": "xx",
                  "CategoryUuid": "xx",
                  "Tags": [
                    "xx"
                  ],
                  "Extend1": "xx",
                  "Extend2": "xx",
                  "Extend3": "xx"
                }
              ],
              "MultimodalSearchResultList": [
                {
                  "SearchResult": [
                    {
                      "Article": {
                        "SearchSourceName": "互联网搜索",
                        "Title": "xx",
                        "Url": "xx",
                        "Summary": "xx",
                        "DocUuid": "xx",
                        "DocId": "xx"
                      },
                      "MediaId": "xx",
                      "MediaType": "image",
                      "ClipInfos": [
                        {
                          "Score": 0.99,
                          "From": 1,
                          "To": 1,
                          "Text": "xx",
                          "Type": "asr"
                        }
                      ],
                      "FileUrl": "xx"
                    }
                  ],
                  "TimelineDateStr": "2024-09-11"
                }
              ],
              "GenerateTraceability": {
                "Duplicate": 0.9,
                "Coordinates": [
                  {
                    "GenerateCoordinate": {
                      "X": 1,
                      "Y": 1,
                      "Z": 1
                    },
                    "NewsCoordinate": {
                      "X": 1,
                      "Y": 1,
                      "Z": 1,
                      "MediaType": "image"
                    }
                  }
                ]
              },
              "TextGenerateMultimodalMediaList": [
                {
                  "Start": 1,
                  "End": 1,
                  "MultimodalMediaList": [
                    {
                      "Article": {
                        "SearchSourceName": "互联网搜索",
                        "Title": "xxxx",
                        "Url": "xx",
                        "Summary": "xx",
                        "DocUuid": "xx",
                        "DocId": "xx"
                      },
                      "MediaId": "xx",
                      "MediaType": "image",
                      "FileUrl": "xx"
                    }
                  ]
                }
              ],
              "GenerateFinished": true,
              "ReasonTextGenerate": "xx"
            },
            "VideoSearchResult": {
              "SearchResult": [
                {
                  "Article": {
                    "SearchSourceName": "互联网搜索",
                    "Title": "xx",
                    "Url": "xx",
                    "Summary": "xx",
                    "DocUuid": "xx",
                    "DocId": "xx",
                    "CategoryUuid": "xx",
                    "Tags": [
                      "xx"
                    ],
                    "Extend1": "xx",
                    "Extend2": "xx",
                    "Extend3": "xx"
                  },
                  "MediaId": "xx",
                  "ClipInfos": [
                    {
                      "Score": 0.8,
                      "From": 1,
                      "To": 1,
                      "Text": "xx",
                      "Type": "asr"
                    }
                  ],
                  "FileUrl": "xx",
                  "TraceabilityId": "1"
                }
              ]
            },
            "ImageSearchResult": {
              "SearchResult": [
                {
                  "Article": {
                    "SearchSourceName": "互联网搜索",
                    "Title": "xx",
                    "Url": "xx",
                    "Summary": "xx",
                    "DocUuid": "xx",
                    "DocId": "xx",
                    "CategoryUuid": "xx",
                    "Tags": [
                      "xx"
                    ],
                    "Extend1": "xx",
                    "Extend2": "xx",
                    "Extend3": "xx"
                  },
                  "MediaId": "xx",
                  "FileUrl": "xx",
                  "TraceabilityId": "1"
                }
              ]
            },
            "TextSearchResult": {
              "Current": 1,
              "Size": 1,
              "Total": 1,
              "SearchResult": [
                {
                  "DocId": "xx",
                  "DocUuid": "xx",
                  "SearchSourceType": "SystemSearch",
                  "SearchSource": "QuarkCommonNews",
                  "SearchSourceName": "xxx",
                  "PubTime": "2024-11-25 14:25:59",
                  "Content": "xx",
                  "Url": "xx",
                  "Title": "xx",
                  "Summary": "xx",
                  "TraceabilityId": "1",
                  "CategoryUuid": "xx",
                  "Tags": [
                    "xx"
                  ],
                  "Extend1": "xx",
                  "Extend2": "xx",
                  "Extend3": "xx"
                }
              ]
            },
            "AudioSearchResult": {
              "SearchResult": [
                {
                  "MediaId": "xxx",
                  "FileUrl": "http://xxx",
                  "Article": {
                    "Title": "xx",
                    "Url": "http://xxx",
                    "Summary": "xxx",
                    "DocUuid": "xx",
                    "DocId": "xx",
                    "SearchSourceName": "xx",
                    "Extend1": "xx",
                    "Extend2": "xx",
                    "Extend3": "xx",
                    "Tags": [
                      "x"
                    ],
                    "CategoryUuid": "xx"
                  },
                  "ClipInfos": [
                    {
                      "Score": 0.9,
                      "From": 1,
                      "To": 2,
                      "Text": "xx",
                      "Type": "asr"
                    }
                  ],
                  "TraceabilityId": "1"
                }
              ]
            }
          },
          "SearchKeywords": [
            "xx"
          ],
          "SearchQueryList": [
            "xx"
          ],
          "RecommendSearchQueryList": [
            "xx"
          ],
          "SupplementDataType": "searchQuery",
          "SupplementEnable": true,
          "ModelId": "xx",
          "TokenCalculate": {
            "FirstTokenTime": 1,
            "SearchTime": 1,
            "OutputAvgTime": 1,
            "Time": 1,
            "TotalTokens": 1
          },
          "AskUser": "您想了解关于xx的哪些信息?",
          "AskUserKeywords": [
            "时间"
          ]
        }
      },
      "Messages": [
        {
          "Id": "xx",
          "Content": "xx",
          "GenerateFinished": true,
          "Clarifications": true,
          "SearchQueries": [
            "xx"
          ],
          "SearchResult": [
            {
              "MultimodalSearchQuery": "xx",
              "Texts": [
                {
                  "DocUuid": "xx"
                }
              ],
              "Images": [
                {
                  "MediaId": "xx"
                }
              ],
              "Audios": [
                {
                  "MediaId": "xx"
                }
              ],
              "Videos": [
                {
                  "MediaId": "1"
                }
              ]
            }
          ],
          "NodeCode": "generateStartStatement",
          "SearchQuery": "xx"
        }
      ]
    },
    "Usage": {
      "OutputTokens": 2,
      "InputTokens": 1,
      "TotalTokens": 3
    }
  },
  "Header": {
    "SessionId": "x",
    "TraceId": "xx",
    "TaskId": "x",
    "OriginSessionId": "3f7045e099474ba28ceca1b4eb6d6e21",
    "Event": "task-failed",
    "ErrorCode": "AccessForbid",
    "ErrorMessage": "xx",
    "EventInfo": "xx",
    "ResponseTime": 1
  },
  "RequestId": "xx"
}

Error codes

HTTP status code

Error code

Error message

Description

403NoPermissionYou are not authorized to perform this action.Please check the workspaceId assignment
Visit the Error Center to view more error codes.

Release notes

For more information, see Change details.