UNPKG

@pinecone-database/pinecone

Version:

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

52 lines (51 loc) 1.63 kB
/** * 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 { ChoiceModel } from './ChoiceModel'; import type { UsageModel } from './UsageModel'; /** * The ChatCompletionModel describes the response format of a chat request. * @export * @interface ChatCompletionModel */ export interface ChatCompletionModel { /** * * @type {string} * @memberof ChatCompletionModel */ id?: string; /** * * @type {Array<ChoiceModel>} * @memberof ChatCompletionModel */ choices?: Array<ChoiceModel>; /** * * @type {string} * @memberof ChatCompletionModel */ model?: string; /** * * @type {UsageModel} * @memberof ChatCompletionModel */ usage?: UsageModel; } /** * Check if a given object implements the ChatCompletionModel interface. */ export declare function instanceOfChatCompletionModel(value: object): boolean; export declare function ChatCompletionModelFromJSON(json: any): ChatCompletionModel; export declare function ChatCompletionModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatCompletionModel; export declare function ChatCompletionModelToJSON(value?: ChatCompletionModel | null): any;