Pinecone TypeScript SDK - v9.0.0
    Preparing search index...

    Interface EvaluateOptions

    The request for the alignment evaluation.

    import type { EvaluateOptions } from '@pinecone-database/pinecone';
    const options: EvaluateOptions = {
    question: 'Where can I start a return?',
    answer: 'From your order history.',
    groundTruth: 'Customers can start returns from their order history.',
    };
    interface EvaluateOptions {
        answer: string;
        groundTruth: string;
        question: string;
    }
    Index
    answer: string

    The generated answer.

    groundTruth: string

    The ground truth answer to the question.

    question: string

    The question for which the answer was generated.