@squidcloud/client
    Preparing search index...

    Interface AiKnowledgeBaseSearchOptions

    Specific options for the AI knowledgebase search method.

    interface AiKnowledgeBaseSearchOptions {
        chatModel?: string;
        chunkLimit?: number;
        limit?: number;
        prompt: string;
        rerankProvider?: "cohere" | "none";
    }
    Index

    Properties

    chatModel?: string

    Which chat model to use when asking the question

    chunkLimit?: number

    How many chunks to look over. Defaults to 100

    limit?: number

    The maximum number of results to return

    prompt: string

    The prompt to search for

    rerankProvider?: "cohere" | "none"

    Which provider's reranker to use for reranking the context. Defaults to 'cohere'.