@airbolt/sdk
    Preparing search index...

    Interface ChatSession

    Chat session interface for managing conversation state

    interface ChatSession {
        clear(): void;
        getMessages(): readonly Message[];
        send(content: string): Promise<string>;
    }
    Index

    Methods

    • Send a message and receive a response

      Parameters

      • content: string

        The user's message content

      Returns Promise<string>

      The assistant's response