UNPKG

@pinecone-database/pinecone

Version:

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

38 lines (37 loc) 1.28 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. */ /** * The MessageModel describes the format of a message in a chat. * @export * @interface MessageModel */ export interface MessageModel { /** * Role of the message such as 'user' or 'assistant' * @type {string} * @memberof MessageModel */ role?: string; /** * Content of the message * @type {string} * @memberof MessageModel */ content?: string; } /** * Check if a given object implements the MessageModel interface. */ export declare function instanceOfMessageModel(value: object): boolean; export declare function MessageModelFromJSON(json: any): MessageModel; export declare function MessageModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): MessageModel; export declare function MessageModelToJSON(value?: MessageModel | null): any;