@squidcloud/client
    Preparing search index...

    Interface AiKnowledgeBaseContextWithReasoning

    A context with reasoning and matching score.

    interface AiKnowledgeBaseContextWithReasoning {
        context: AiKnowledgeBaseContext;
        reasoning?: string;
        score: number;
    }
    Index

    Properties

    The actual context

    reasoning?: string

    The reasoning behind why this context was matched - can be undefined if no reasoning was requested

    score: number

    The score of the match, ranging from 0 to 100, where 100 is the best match.