Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

863 B
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * Document Cognition Service
 * OpenAPI spec version: 1.0.0
 */

import type { ChatMessageContent } from './chatMessageContent';
import type { NewChatMessageAttachments } from './newChatMessageAttachments';
import type { NewChatMessageId } from './newChatMessageId';
import type { Role } from './role';

export interface NewChatMessage {
  /** The ids of the attachments used to generate the message */
  attachments?: NewChatMessageAttachments;
  /** Content of the message */
  content: ChatMessageContent;
  createdAt: string;
  /** Optional pre-generated ID. If None, the database generates one. */
  id?: NewChatMessageId;
  /** The model used to generate the chat (provider api id) */
  model: string;
  /** Whether the chat is from the user or system */
  role: Role;
  updatedAt: string;
}