@hatang/sdk
    Preparing search index...

    Interface KnowledgeDocumentInput

    interface KnowledgeDocumentInput {
        collection?: string | null;
        content: string;
        locale?: string | null;
        tags?: string[];
        title: string;
        url?: string | null;
    }
    Index
    collection?: string | null

    A set you can sync as a whole (knowledge.sync).

    content: string

    Markdown or plain text, up to 200,000 characters; headings become each chunk's breadcrumb.

    locale?: string | null

    Its language, such as "vi" or "en": the assistant prefers the conversation's.

    tags?: string[]
    title: string
    url?: string | null

    The page the document lives at, cited in answers.