UNPKG

@vectorize-io/vectorize-client

Version:
106 lines (105 loc) 2.07 kB
/** * Vectorize API (Beta) * API for Vectorize services * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface Document */ export interface Document { [key: string]: any | any; /** * * @type {number} * @memberof Document */ relevancy: number; /** * * @type {string} * @memberof Document */ id: string; /** * * @type {string} * @memberof Document */ text: string; /** * * @type {string} * @memberof Document */ chunkId: string; /** * * @type {string} * @memberof Document */ totalChunks: string; /** * * @type {string} * @memberof Document */ origin: string; /** * * @type {string} * @memberof Document */ originId: string; /** * * @type {number} * @memberof Document */ similarity: number; /** * * @type {string} * @memberof Document */ source: string; /** * * @type {string} * @memberof Document */ uniqueSource: string; /** * * @type {string} * @memberof Document */ sourceDisplayName: string; /** * * @type {string} * @memberof Document */ pipelineId?: string; /** * * @type {string} * @memberof Document */ orgId?: string; } /** * Check if a given object implements the Document interface. */ export declare function instanceOfDocument(value: object): value is Document; export declare function DocumentFromJSON(json: any): Document; export declare function DocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Document; export declare function DocumentToJSON(json: any): Document; export declare function DocumentToJSONTyped(value?: Document | null, ignoreDiscriminator?: boolean): any;