@pinecone-database/pinecone
Version:
This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.
14 lines (13 loc) • 2.77 kB
TypeScript
export { Pinecone } from './pinecone';
export { Index } from './data';
export { Inference } from './inference';
export { Assistant, ChatStream } from './assistant';
export * as Errors from './errors';
export type { RerankOptions, ListModelsOptions } from './inference';
export type { RerankResult, RerankResultUsage, RankedDocument, EmbeddingsList, EmbeddingsListUsage, Embedding, ModelInfo, ModelInfoList, } from './pinecone-generated-ts-fetch/inference';
export type { ImportModel, ListResponse, ListNamespacesResponse, NamespaceDescription, SearchRecordsResponse, SearchRecordsResponseResult, SearchUsage, StartImportResponse, } from './pinecone-generated-ts-fetch/db_data';
export type { AssistantList, AssistantModel, AssistantStatusEnum, ChatOptions, ChatContextOptions, ChatCompletionOptions, ChatModelEnum, ChoiceModel, FinishReasonEnum, StreamedChatResponse, StreamedChatCompletionResponse, BaseChunk, MessageStartChunk, ContentChunk, CitationChunk, MessageEndChunk, ContextOptions, AssistantFileModel, AssistantFileStatusEnum, AssistantFilesList, ListFilesOptions, UploadFileOptions, CreateAssistantOptions, UpdateAssistantOptions, UpdateAssistantResponse, } from './assistant';
export type { ChatModel, ChatModelFinishReasonEnum, ChatCompletionModel, CitationModel, ContextModel, HighlightModel, MessageModel, UsageModel, } from './pinecone-generated-ts-fetch/assistant_data';
export type { BackupId, RestoreJobId, CollectionName, CreateBackupOptions, CreateIndexFromBackupOptions, DescribeBackupOptions, DescribeRestoreJobOptions, ListRestoreJobsOptions, DeleteBackupOptions, CreateIndexOptions, DeleteCollectionOptions, DeleteIndexOptions, DescribeIndexOptions, DescribeCollectionOptions, IndexName, ListBackupsOptions, PodType, } from './control';
export type { DeleteManyByFilterOptions, DeleteManyByRecordIdOptions, DeleteManyOptions, DeleteOneOptions, DescribeIndexStatsOptions, FetchOptions, FetchResponse, IndexStatsDescription, IndexStatsNamespaceSummary, IntegratedRecord, PineconeConfiguration, PineconeRecord, UpdateOptions, QueryByRecordId, QueryByVectorValues, QueryOptions, QueryResponse, QueryShared, RecordId, RecordMetadata, RecordMetadataValue, RecordSparseValues, RecordValues, ScoredPineconeRecord, } from './data';
export type { BackupList, BackupModel, CollectionList, CollectionModel, ConfigureIndexRequestSpecPod, CreateCollectionRequest, CreateIndexForModelRequest, CreateIndexFromBackupResponse, CreateIndexRequest, CreateIndexRequestMetricEnum, DeletionProtection, DescribeCollectionRequest, DescribeIndexRequest, FetchAPI, IndexList, IndexModel, IndexModelMetricEnum, PodSpec, PodSpecMetadataConfig, RestoreJobList, RestoreJobModel, ServerlessSpec, ServerlessSpecCloudEnum, } from './pinecone-generated-ts-fetch/db_control';