UNPKG

@pinecone-database/pinecone

Version:

This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.

44 lines (43 loc) 1.33 kB
/** * Evaluation API * Provides endpoints for evaluating RAG systems using various metrics. * * The version of the OpenAPI document: 2025-04 * Contact: support@pinecone.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * The request for the alignment evaluation. * @export * @interface AlignmentRequest */ export interface AlignmentRequest { /** * The question for which the answer was generated. * @type {string} * @memberof AlignmentRequest */ question: string; /** * The generated answer. * @type {string} * @memberof AlignmentRequest */ answer: string; /** * The ground truth answer to the question. * @type {string} * @memberof AlignmentRequest */ groundTruthAnswer: string; } /** * Check if a given object implements the AlignmentRequest interface. */ export declare function instanceOfAlignmentRequest(value: object): boolean; export declare function AlignmentRequestFromJSON(json: any): AlignmentRequest; export declare function AlignmentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlignmentRequest; export declare function AlignmentRequestToJSON(value?: AlignmentRequest | null): any;