All Products
Search
Document Center

Energy Expert:AISearchMessageItem

Last Updated:Feb 13, 2026

Parameter

Type

Description

Example

object

Conversation history information.

type

string

The content type of the conversation history information.

  • "text" for text records, "miniapp" for Mini Program information records in structured elements, or "product" for product information records in structured elements.

  • If type is "text", enter the combined content of a single conversation round in the content field. Leave the params field empty.

  • If type is "miniapp" or "product", enter the structured information in JSON format in the params field. Leave the content field empty.

content

string

  • Combine the user's question and the API's text response from one conversation round to form part of the conversation context.

  • The recommended format is: user: <question>\naisearch: <previous_answer>

params

any

The structured information that appears in a single conversation round.