@pinecone-database/pinecone
Version:
This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.
46 lines (45 loc) • 1.43 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 { SnippetModel } from './SnippetModel';
import type { UsageModel } from './UsageModel';
/**
* The response format containing the context from an assistant.
* @export
* @interface ContextModel
*/
export interface ContextModel {
/**
*
* @type {string}
* @memberof ContextModel
*/
id?: string;
/**
*
* @type {Array<SnippetModel>}
* @memberof ContextModel
*/
snippets: Array<SnippetModel>;
/**
*
* @type {UsageModel}
* @memberof ContextModel
*/
usage: UsageModel;
}
/**
* Check if a given object implements the ContextModel interface.
*/
export declare function instanceOfContextModel(value: object): boolean;
export declare function ContextModelFromJSON(json: any): ContextModel;
export declare function ContextModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContextModel;
export declare function ContextModelToJSON(value?: ContextModel | null): any;