RunSearchGeneration

Updated at:

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 console does not support SSE inference protocols and cannot be used for direct testing. For SDK-based integration examples (Java and Python), 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.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.
    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.
  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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

WorkspaceId

string

Yes

ID of the Alibaba Cloud Model Studio workspace. To learn how to obtain this ID, see How to use workspaces.

llm-xxx

TaskId

string

No

Unique identifier for the session task.

NoteBy 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

Prompt

string

No

Search query.

杭州亚运会吉祥物是什么

OriginalSessionId

string

No

Original 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

ChatConfig

object

No

Session configuration.

xxx

GenerateTechnology

string

No

Generation technology:

  • copilotReference: Q&A-style search
  • copilotPrecise: Pure search
Valid values:
  • copilotPrecise :

    copilotPrecise

  • copilotReference :

    copilotReference

copilotReference

SearchParam

object

No

Search parameters.

StartTime

integer

No

Start time.

1725983999999

EndTime

integer

No

End time.

1725983999999

SearchSources

array<object>

No

List of search sources.

object

No

Search 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

Code

string

No

Search 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

DatasetName

string

No

Unique identifier for the search source: matches the dataset name shown in the console, such as 4cb0eda3fad841758262dbe8d61191.

QuarkCommonNews

MultimodalSearchTypes

array

No

Search scope list.

string

No

Search scope:

  • text: documents
  • image: images
  • audio: audio
  • video: video
Valid values:
  • image :

    image

  • text :

    text

  • video :

    video

text

SearchTextMinScore

number

No

Text search threshold: Applies only to custom data sources (range: 0 to 1).

0.66

SearchImageMinScore

number

No

Image search threshold: Applies only to custom data sources (range: 0 to 1).

0.66

SearchVideoMinScore

number

No

Video search threshold: Applies only to custom data sources (range: 0 to 1).

0.66

SearchAudioMinScore

number

No

Voice search threshold: Applies only to custom data sources (range: 0 to 1).

0.66

CategoryUuids

array

No

Unique category identifier.

string

No

Unique category identifier.

xx

Tags

array

No

Tags.

string

No

A tag.

xx

Extend1

string

No

Extension field 1.

xxx

Extend2

string

No

Extension field 2.

xxx

Extend3

string

No

Extension field 3.

xxx

CreateTimeStart

integer

No

Start creation time, in UNIX timestamp format.

111111111111

CreateTimeEnd

integer

No

End creation time, in UNIX timestamp format.

111111111111

DocIds

array

No

Array of document IDs.

string

No

Document ID.

x

DocUuids

array

No

Unique document identifier.

string

No

Unique document identifier.

x

SearchModels

array

No

List of search types.

string

No

Search 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

GenerateLevel

string

No

Detailedness of the response:

  • concise: Concise (default)
  • enhance: Enhanced
  • free: Free-form
  • deepResearch: Research-level
Valid values:
  • concise :

    concise

  • enhance :

    enhance

concise

EnableThinking

boolean

No

Enable deep thinking.

false

ExcludeGenerateOptions

array

No

List of generation options to skip.

string

No

Generation option to skip:

  • think (query rewriting)
  • multimodalSearchThink (multimodal search reasoning)
  • queryRecommend (query recommendation)

think

ModelCustomPromptTemplate

string

No

Plain-text prompt template for Q&A-style search and summary generation. Must include variables {query} and {content}. Example:

# Role
You are an expert article retrieval and Q&A assistant.

# Goal
Answer or explain the user's question "{query}" using the retrieved articles.

# Constraints
- Filter by knowledge date if the question mentions a specific date.
- Structure responses clearly.
- Keep responses concise.
- Do not use external data or fabricate answers.
- If unable to answer, respond in the appropriate language:
  - Chinese: "Unable to answer based on known information."
  - English: "Unable to answer based on the known information."

# Input
## Retrieved articles
{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}

ModelCustomVlPromptTemplate

string

No

Plain-text prompt template for Q&A-style search and summary generation. Must include variables {query} and {content}. Example:

# Role
You are an expert article retrieval and Q&A assistant.

# Goal
Answer or explain the user's question "{query}" using the retrieved articles and images.

# Constraints
- Filter by knowledge date if the question mentions a specific date.
- Structure responses clearly.
- Keep responses concise.
- Ignore article content if image content fully answers the question.
- Do not use external data or fabricate answers.
- If unable to answer, respond in the appropriate language:
    - Chinese: "Unable to answer based on known information."
    - English: "Unable to answer based on the known information."

# Input
## Retrieved articles
{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}

AgentContext

object

No

Context.

BizContext

object

No

Business context.

MultimodalMediaSelection

object

No

User-provided or selected multimodal data.

SelectionType

string

No

The 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

SessionId

string

No

Unique identifier for the session used as reference during generation. Used for clustering in media asset search.

3f7045e099474ba28ceca1b4eb6d6e21

OriginalSessionId

string

No

Unique 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.

SearchModel

string

No

Used only for clustering. Pass ClusterGenerate when performing secondary clustering on cluster subtopics.

TextGenerate

SearchModelDataValue

string

No

When SearchModel = ClusterGenerate, enter the topic name for the subtopic. Include quotation marks if the original value has them.

分类1

TextSearchResult

object

No

Text search results.

SearchResult

array<object>

No

List of text search results.

object

No

Text search result.

SearchSourceType

string

No

Search source type. Same as searchSource.code.

SystemSearch

SearchSource

string

No

Unique identifier for the search source. Same as searchSource.datasetName.

QuarkCommonNews

SearchSourceName

string

No

Name of the search source.

互联网搜索

PubTime

string

No

Publication time.

2024-11-25 14:25:59

Source

string

No

Source.

新华社

Title

string

No

Title.

文章标题

Content

string

No

Content.

文章内容

Url

string

No

Article URL.

https://www.example.com/aaa.docx

Summary

string

No

Article summary.

文章摘要

DocUuid

string

No

Internal unique document identifier.

xxx

Score

number

No

Relevance score.

1

Chunks

array

No

Relevant chunks.

string

No

Chunk.

xx

DocId

string

No

Custom unique document ID.

文档-自定义的唯一ID

SkipCurrentSupplement

boolean

No

Skip follow-up questions.

false

AskUser

string

No

Follow-up question.

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

AskUserKeywords

array

No

List of recommended keywords for follow-up questions.

string

No

Recommended keyword for follow-up questions.

xx

UserBack

string

No

User feedback to follow-up questions.

地点

UserBackKeywords

array

No

List of keywords from user feedback to follow-up questions.

string

No

Keyword from user feedback to follow-up questions.

xx

CurrentStep

string

No

Current step.

think

NextStep

string

No

Next step.

generate

SupplementDataType

string

No

Data type needed for reasoning: searchQuery.

searchQuery

SupplementEnable

boolean

No

Specifies whether supplementation is required.

true

ModelId

string

No

Model ID:

  • quanmiao-max: Quanmiao-Max
  • quanmiao-plus: Quanmiao-Plus

quanmiao-max

FileUrl

string

No

Image 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": false,
          "Clarifications": false,
          "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

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.