Hiyve Components - v1.0.0
    Preparing search index...

    Configuration for auto-saving AI chat as a Note.

    When passed to AIAssistant.saveAsNote, the conversation is automatically persisted as a NoteFile to S3 via the Hiyve client's file API.

    interface ChatNoteSaveConfig {
        fileId?: string;
        fileLocation?: string;
        onNoteSaved?: (fileId: string) => void;
        onNoteSaveError?: (error: Error) => void;
        userId?: string;
        userName?: string;
    }
    Index

    Properties

    fileId?: string

    Existing file ID to resume updating

    fileLocation?: string

    File storage location (default: '/Notes')

    onNoteSaved?: (fileId: string) => void

    Callback after successful save with the file ID

    onNoteSaveError?: (error: Error) => void

    Callback on save error

    userId?: string

    Override user ID (defaults to AIAssistant's userId)

    userName?: string

    Author display name for the saved note