@squidcloud/client
    Preparing search index...

    Interface AiKnowledgeBaseSearchContextsWithContextIdRequest

    Request structure for searching AI contexts in the AiKnowledgeBase with an existing context.

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

    Hierarchy (View Summary)

    Index

    Properties

    chatModel?: string

    Which chat model to use when doing reranking

    contextId: string

    The contextId to search with

    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