CreateTopicReqPayload: {
    first_user_message?: string | null;
    name?: string | null;
    owner_id: string;
}

Type declaration

  • Optionalfirst_user_message?: string | null

    The first message which will belong to the topic. The topic name is generated based on this message similar to how it works in the OpenAI chat UX if a name is not explicitly provided on the name request body key.

  • Optionalname?: string | null

    The name of the topic. If this is not provided, the topic name is generated from the first_user_message.

  • owner_id: string

    The owner_id of the topic. This is typically a browser fingerprint or your user's id. It is used to group topics together for a user.