@pinecone-database/pinecone
Version:
This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.
39 lines (38 loc) • 1.39 kB
TypeScript
/**
* Pinecone Assistant Data Plane API
* Pinecone Assistant Engine is a context engine to store and retrieve relevant knowledge from millions of documents at scale. This API supports interactions with assistants.
*
* 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 { ReferenceModel } from './ReferenceModel';
/**
* The CitationModel describes a single cited source returned by a chat request.
* @export
* @interface CitationModel
*/
export interface CitationModel {
/**
* The index position of the citation in the complete text response.
* @type {number}
* @memberof CitationModel
*/
position?: number;
/**
*
* @type {Array<ReferenceModel>}
* @memberof CitationModel
*/
references?: Array<ReferenceModel>;
}
/**
* Check if a given object implements the CitationModel interface.
*/
export declare function instanceOfCitationModel(value: object): boolean;
export declare function CitationModelFromJSON(json: any): CitationModel;
export declare function CitationModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): CitationModel;
export declare function CitationModelToJSON(value?: CitationModel | null): any;