UNPKG

@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.32 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 { ErrorResponseError } from './ErrorResponseError'; /** * The response shape used for all error responses. * @export * @interface ErrorResponse */ export interface ErrorResponse { /** * The HTTP status code of the error. * @type {number} * @memberof ErrorResponse */ status: number; /** * * @type {ErrorResponseError} * @memberof ErrorResponse */ error: ErrorResponseError; } /** * Check if a given object implements the ErrorResponse interface. */ export declare function instanceOfErrorResponse(value: object): boolean; export declare function ErrorResponseFromJSON(json: any): ErrorResponse; export declare function ErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorResponse; export declare function ErrorResponseToJSON(value?: ErrorResponse | null): any;