@pinecone-database/pinecone
Version:
This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.
47 lines (46 loc) • 1.38 kB
TypeScript
/**
* 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.
*/
import type { Metrics } from './Metrics';
import type { Reasoning } from './Reasoning';
import type { TokenCounts } from './TokenCounts';
/**
* The response for the alignment evaluation.
* @export
* @interface AlignmentResponse
*/
export interface AlignmentResponse {
/**
*
* @type {Metrics}
* @memberof AlignmentResponse
*/
metrics: Metrics;
/**
*
* @type {Reasoning}
* @memberof AlignmentResponse
*/
reasoning: Reasoning;
/**
*
* @type {TokenCounts}
* @memberof AlignmentResponse
*/
usage: TokenCounts;
}
/**
* Check if a given object implements the AlignmentResponse interface.
*/
export declare function instanceOfAlignmentResponse(value: object): boolean;
export declare function AlignmentResponseFromJSON(json: any): AlignmentResponse;
export declare function AlignmentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlignmentResponse;
export declare function AlignmentResponseToJSON(value?: AlignmentResponse | null): any;