Overview
TheAskFredMessage type represents a single question-answer exchange within an AskFred conversation thread. Each message contains the user’s query, the AI-generated response, and optional follow-up suggestions.
Fields
Unique identifier for the message
ID of the parent thread this message belongs to
The question or query submitted by the user
The AI-generated response to the query, formatted according to the specified format_mode
Array of suggested follow-up questions based on the context of the conversation
Current status of the message processing. See AskFredMessageStatus below.
ISO 8601 timestamp when the message was created
ISO 8601 timestamp when the message was last updated
AskFredMessageStatus
An enum representing the processing status of a message:The query is currently being processed
The query has been successfully processed and answered
The query processing failed
Example
Format Modes
Theanswer field can be formatted in different ways based on the format_mode parameter used when creating or continuing a thread: