@pinecone-database/pinecone
Version:
This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.
57 lines (56 loc) • 1.7 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.
*/
/**
* The SnippetModel represents a part of a document that is relevant to the user query.
* @export
* @interface SnippetModel
*/
export interface SnippetModel {
/**
*
* @type {string}
* @memberof SnippetModel
*/
type?: SnippetModelTypeEnum;
/**
*
* @type {string}
* @memberof SnippetModel
*/
content: string;
/**
*
* @type {number}
* @memberof SnippetModel
*/
score: number;
/**
* The TypedReferenceModel represents a reference for the information provided.
* @type {object}
* @memberof SnippetModel
*/
reference: object;
}
/**
* @export
*/
export declare const SnippetModelTypeEnum: {
readonly Text: "text";
};
export type SnippetModelTypeEnum = typeof SnippetModelTypeEnum[keyof typeof SnippetModelTypeEnum];
/**
* Check if a given object implements the SnippetModel interface.
*/
export declare function instanceOfSnippetModel(value: object): boolean;
export declare function SnippetModelFromJSON(json: any): SnippetModel;
export declare function SnippetModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): SnippetModel;
export declare function SnippetModelToJSON(value?: SnippetModel | null): any;