@squidcloud/client
    Preparing search index...

    Interface BaseAiKnowledgeBaseSearchContextsRequest

    Request structure for searching AI contexts in the AiKnowledgeBase.

    interface BaseAiKnowledgeBaseSearchContextsRequest {
        chatModel?: string;
        contextMetadataFilter?: AiContextMetadataFilter;
        knowledgeBaseId: string;
        limit?: number;
        rerank?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    chatModel?: string

    Which chat model to use when doing reranking

    contextMetadataFilter?: AiContextMetadataFilter

    A set of filters that will limit the context the AI can access.

    knowledgeBaseId: string

    The id of the AiKnowledgeBase

    limit?: number

    The maximum number of results to return

    rerank?: boolean

    Whether to rerank the results with AI and provide reasoning - defaults to true