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
The AI-generated response to the query, formatted according to the specified format_mode
Current status of the message processing. See AskFredMessageStatus below.
AskFredMessageStatus
An enum representing the processing status of a message:Example
Format Modes
Theanswer field can be formatted in different ways based on the format_mode parameter used when creating or continuing a thread:
Markdown Format
Rich text with headers, lists, bold/italic text, and other markdown features for enhanced readability.Plaintext Format
Concise text without any formatting, suitable for systems that don’t support markdown.Related Types
AskFredThread
Parent thread containing messages
AskFredResponse
Response wrapper for newly created messages