Skip to main content

Overview

The AskFredThread type represents a conversation thread in the AskFred system. Each thread contains a series of questions and answers about meeting transcripts, maintaining context throughout the conversation.

Fields

id
String!
required
Unique identifier for the thread
title
String!
required
Title of the thread, typically derived from the first question asked
transcript_id
String
ID of the specific meeting/transcript this thread is associated with (if applicable)
user_id
String!
required
ID of the user who created the thread
created_at
String!
required
ISO 8601 timestamp when the thread was created
messages
[AskFredMessage!]!
required
Array of messages in the thread, containing questions and answers. See AskFredMessage for details.

Example

{
  "id": "thread_abc123",
  "title": "Q4 Planning Meeting Action Items",
  "transcript_id": "transcript_xyz789",
  "user_id": "user_123",
  "created_at": "2024-03-15T10:30:00Z",
  "messages": [
    {
      "id": "msg_001",
      "thread_id": "thread_abc123",
      "query": "What were the action items from the Q4 planning meeting?",
      "answer": "Based on the Q4 planning meeting...",
      "suggested_queries": ["Who is responsible for...", "What is the timeline..."],
      "status": "completed",
      "created_at": "2024-03-15T10:30:00Z"
    }
  ]
}