chromadb 2.0.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chromadb.d.ts +358 -361
- package/dist/chromadb.legacy-esm.js +8437 -963
- package/dist/chromadb.mjs +8437 -963
- package/dist/chromadb.mjs.map +1 -1
- package/dist/cjs/chromadb.cjs +8160 -82298
- package/dist/cjs/chromadb.cjs.map +1 -1
- package/dist/cjs/chromadb.d.cts +358 -361
- package/package.json +2 -2
- package/dist/chunk-2I6CV325.mjs +0 -414
- package/dist/chunk-2I6CV325.mjs.map +0 -1
- package/dist/chunk-3NRRNECW.mjs +0 -83
- package/dist/chunk-3NRRNECW.mjs.map +0 -1
- package/dist/chunk-4UDAOY2U.mjs +0 -327
- package/dist/chunk-4UDAOY2U.mjs.map +0 -1
- package/dist/chunk-6ZKNTEPZ.mjs +0 -2037
- package/dist/chunk-6ZKNTEPZ.mjs.map +0 -1
- package/dist/chunk-BS5BCL44.mjs +0 -7
- package/dist/chunk-BS5BCL44.mjs.map +0 -1
- package/dist/chunk-DANUECVT.mjs +0 -50
- package/dist/chunk-DANUECVT.mjs.map +0 -1
- package/dist/chunk-GDHEROXF.mjs +0 -2438
- package/dist/chunk-GDHEROXF.mjs.map +0 -1
- package/dist/chunk-GN4I7XPH.mjs +0 -177
- package/dist/chunk-GN4I7XPH.mjs.map +0 -1
- package/dist/chunk-HXDLSRHI.mjs +0 -207
- package/dist/chunk-HXDLSRHI.mjs.map +0 -1
- package/dist/chunk-IF5OTL7Q.mjs +0 -176
- package/dist/chunk-IF5OTL7Q.mjs.map +0 -1
- package/dist/chunk-KNSX3QQN.mjs +0 -518
- package/dist/chunk-KNSX3QQN.mjs.map +0 -1
- package/dist/chunk-KSZYE6SH.mjs +0 -2381
- package/dist/chunk-KSZYE6SH.mjs.map +0 -1
- package/dist/chunk-MOIH7PA3.mjs +0 -676
- package/dist/chunk-MOIH7PA3.mjs.map +0 -1
- package/dist/chunk-OKNWZX4Z.mjs +0 -507
- package/dist/chunk-OKNWZX4Z.mjs.map +0 -1
- package/dist/chunk-OWNDPRL3.mjs +0 -247
- package/dist/chunk-OWNDPRL3.mjs.map +0 -1
- package/dist/chunk-TN7LSCIP.mjs +0 -109
- package/dist/chunk-TN7LSCIP.mjs.map +0 -1
- package/dist/chunk-UM62EAVT.mjs +0 -4818
- package/dist/chunk-UM62EAVT.mjs.map +0 -1
- package/dist/chunk-VAJCYAXQ.mjs +0 -57
- package/dist/chunk-VAJCYAXQ.mjs.map +0 -1
- package/dist/chunk-VXHP7JPX.mjs +0 -104
- package/dist/chunk-VXHP7JPX.mjs.map +0 -1
- package/dist/chunk-WDG5ZWPU.mjs +0 -2251
- package/dist/chunk-WDG5ZWPU.mjs.map +0 -1
- package/dist/chunk-YRGW5WGL.mjs +0 -6479
- package/dist/chunk-YRGW5WGL.mjs.map +0 -1
- package/dist/cohere-ai-KNV6FGYZ.mjs +0 -37218
- package/dist/cohere-ai-KNV6FGYZ.mjs.map +0 -1
- package/dist/dist-O6N5T3JM.mjs +0 -1005
- package/dist/dist-O6N5T3JM.mjs.map +0 -1
- package/dist/dist-VKIDZ6QC.mjs +0 -618
- package/dist/dist-VKIDZ6QC.mjs.map +0 -1
- package/dist/dist-es-62MHTGKQ.mjs +0 -13
- package/dist/dist-es-62MHTGKQ.mjs.map +0 -1
- package/dist/dist-es-BRLZJI5T.mjs +0 -81
- package/dist/dist-es-BRLZJI5T.mjs.map +0 -1
- package/dist/dist-es-MHHI4RDX.mjs +0 -13
- package/dist/dist-es-MHHI4RDX.mjs.map +0 -1
- package/dist/dist-es-R5RI4HJ2.mjs +0 -13
- package/dist/dist-es-R5RI4HJ2.mjs.map +0 -1
- package/dist/dist-es-UOH7UNI4.mjs +0 -13
- package/dist/dist-es-UOH7UNI4.mjs.map +0 -1
- package/dist/dist-es-WGZS6VAE.mjs +0 -21
- package/dist/dist-es-WGZS6VAE.mjs.map +0 -1
- package/dist/dist-es-WLV6NB4C.mjs +0 -17
- package/dist/dist-es-WLV6NB4C.mjs.map +0 -1
- package/dist/dist-es-XVOMYAX5.mjs +0 -34
- package/dist/dist-es-XVOMYAX5.mjs.map +0 -1
- package/dist/dist-es-ZYXQ7PRD.mjs +0 -1457
- package/dist/dist-es-ZYXQ7PRD.mjs.map +0 -1
- package/dist/fileFromPath-ETT7SMQX.mjs +0 -135
- package/dist/fileFromPath-ETT7SMQX.mjs.map +0 -1
- package/dist/loadCognitoIdentity-36IY5XUM.mjs +0 -2062
- package/dist/loadCognitoIdentity-36IY5XUM.mjs.map +0 -1
- package/dist/loadSso-FSSQ2RBD.mjs +0 -1100
- package/dist/loadSso-FSSQ2RBD.mjs.map +0 -1
- package/dist/loadSts-AFMN5KQL.mjs +0 -29
- package/dist/loadSts-AFMN5KQL.mjs.map +0 -1
- package/dist/openai-64BKFVCL.mjs +0 -9616
- package/dist/openai-64BKFVCL.mjs.map +0 -1
- package/dist/version-2PHUJJC6.mjs +0 -8
- package/dist/version-2PHUJJC6.mjs.map +0 -1
- package/dist/voyageai-UCHIDVDS.mjs +0 -4807
- package/dist/voyageai-UCHIDVDS.mjs.map +0 -1
package/dist/chromadb.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as ollama from 'ollama';
|
|
|
4
4
|
import * as openai from 'openai';
|
|
5
5
|
import * as _xenova_transformers from '@xenova/transformers';
|
|
6
6
|
|
|
7
|
-
type EmbeddingFunctionSpace = "cosine" | "l2" | "
|
|
7
|
+
type EmbeddingFunctionSpace = "cosine" | "l2" | "ip";
|
|
8
8
|
interface IEmbeddingFunction {
|
|
9
9
|
generate(texts: string[]): Promise<number[][]>;
|
|
10
10
|
name?: string;
|
|
@@ -13,6 +13,7 @@ interface IEmbeddingFunction {
|
|
|
13
13
|
buildFromConfig?(config: Record<string, any>): IEmbeddingFunction;
|
|
14
14
|
getConfig?(): Record<string, any>;
|
|
15
15
|
validateConfigUpdate?(oldConfig: Record<string, any>, newConfig: Record<string, any>): void;
|
|
16
|
+
validateConfig?(config: Record<string, any>): void;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
type AuthHeaders = {
|
|
@@ -416,7 +417,7 @@ declare class Collection {
|
|
|
416
417
|
* Chroma
|
|
417
418
|
*
|
|
418
419
|
*
|
|
419
|
-
* OpenAPI spec version: 0.
|
|
420
|
+
* OpenAPI spec version: 1.0.0
|
|
420
421
|
*
|
|
421
422
|
*
|
|
422
423
|
* NOTE: This class is auto generated by OpenAPI Generator+.
|
|
@@ -472,7 +473,7 @@ declare class Configuration {
|
|
|
472
473
|
* Chroma
|
|
473
474
|
*
|
|
474
475
|
*
|
|
475
|
-
* OpenAPI spec version: 0.
|
|
476
|
+
* OpenAPI spec version: 1.0.0
|
|
476
477
|
*
|
|
477
478
|
*
|
|
478
479
|
* NOTE: This class is auto generated by OpenAPI Generator+.
|
|
@@ -503,7 +504,7 @@ declare class BaseAPI {
|
|
|
503
504
|
* Chroma
|
|
504
505
|
*
|
|
505
506
|
*
|
|
506
|
-
* OpenAPI spec version: 0.
|
|
507
|
+
* OpenAPI spec version: 1.0.0
|
|
507
508
|
*
|
|
508
509
|
*
|
|
509
510
|
* NOTE: This class is auto generated by OpenAPI Generator+.
|
|
@@ -511,265 +512,201 @@ declare class BaseAPI {
|
|
|
511
512
|
* Do not edit the class manually.
|
|
512
513
|
*/
|
|
513
514
|
declare namespace Api {
|
|
514
|
-
interface
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
embeddings?: (Api.AddRequest.Embedding[]) | null;
|
|
518
|
-
metadatas?: ((Api.AddRequest.Metadatum | null)[]) | null;
|
|
515
|
+
interface AddV1V1Request {
|
|
516
|
+
embeddings?: (unknown[]) | null;
|
|
517
|
+
metadatas?: ((Api.AddV1V1Request.Metadatum | null)[]) | null;
|
|
519
518
|
documents?: ((string | null)[]) | null;
|
|
520
519
|
uris?: ((string | null)[]) | null;
|
|
521
520
|
ids: string[];
|
|
522
521
|
}
|
|
523
522
|
/**
|
|
524
523
|
* @export
|
|
525
|
-
* @namespace
|
|
524
|
+
* @namespace AddV1V1Request
|
|
526
525
|
*/
|
|
527
|
-
namespace
|
|
528
|
-
interface Embedding {
|
|
529
|
-
}
|
|
526
|
+
namespace AddV1V1Request {
|
|
530
527
|
interface Metadatum {
|
|
531
528
|
}
|
|
532
529
|
}
|
|
533
|
-
interface
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
embeddings?: (Api.AddV1Request.Embedding[]) | null;
|
|
537
|
-
metadatas?: ((Api.AddV1Request.Metadatum | null)[]) | null;
|
|
530
|
+
interface AddV2Request {
|
|
531
|
+
embeddings?: (unknown[]) | null;
|
|
532
|
+
metadatas?: ((Api.AddV2Request.Metadatum | null)[]) | null;
|
|
538
533
|
documents?: ((string | null)[]) | null;
|
|
539
534
|
uris?: ((string | null)[]) | null;
|
|
540
535
|
ids: string[];
|
|
541
536
|
}
|
|
542
537
|
/**
|
|
543
538
|
* @export
|
|
544
|
-
* @namespace
|
|
539
|
+
* @namespace AddV2Request
|
|
545
540
|
*/
|
|
546
|
-
namespace
|
|
547
|
-
interface Embedding {
|
|
548
|
-
}
|
|
541
|
+
namespace AddV2Request {
|
|
549
542
|
interface Metadatum {
|
|
550
543
|
}
|
|
551
544
|
}
|
|
552
|
-
interface
|
|
553
|
-
}
|
|
554
|
-
interface ADeleteRequest {
|
|
555
|
-
ids?: (string[]) | null;
|
|
556
|
-
where?: Api.ADeleteRequest.Where | null;
|
|
557
|
-
'where_document'?: Api.ADeleteRequest.WhereDocument | null;
|
|
558
|
-
}
|
|
559
|
-
/**
|
|
560
|
-
* @export
|
|
561
|
-
* @namespace ADeleteRequest
|
|
562
|
-
*/
|
|
563
|
-
namespace ADeleteRequest {
|
|
564
|
-
interface Where {
|
|
565
|
-
}
|
|
566
|
-
interface WhereDocument {
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
interface AGet200Response {
|
|
570
|
-
}
|
|
571
|
-
interface AGetRequest {
|
|
572
|
-
ids?: (string[]) | null;
|
|
573
|
-
where?: Api.AGetRequest.Where | null;
|
|
574
|
-
'where_document'?: Api.AGetRequest.WhereDocument | null;
|
|
575
|
-
sort?: string | null;
|
|
576
|
-
/**
|
|
577
|
-
* @type {number | null}
|
|
578
|
-
* @memberof AGetRequest
|
|
579
|
-
*/
|
|
580
|
-
limit?: number | null;
|
|
581
|
-
/**
|
|
582
|
-
* @type {number | null}
|
|
583
|
-
* @memberof AGetRequest
|
|
584
|
-
*/
|
|
585
|
-
offset?: number | null;
|
|
586
|
-
include?: Api.IncludeEnum[];
|
|
587
|
-
}
|
|
588
|
-
/**
|
|
589
|
-
* @export
|
|
590
|
-
* @namespace AGetRequest
|
|
591
|
-
*/
|
|
592
|
-
namespace AGetRequest {
|
|
593
|
-
interface Where {
|
|
594
|
-
}
|
|
595
|
-
interface WhereDocument {
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
interface Count200Response {
|
|
599
|
-
}
|
|
600
|
-
interface CountCollections200Response {
|
|
601
|
-
}
|
|
602
|
-
interface CountCollectionsV1200Response {
|
|
603
|
-
}
|
|
604
|
-
interface CountV1200Response {
|
|
605
|
-
}
|
|
606
|
-
interface CreateCollection200Response {
|
|
607
|
-
}
|
|
608
|
-
interface CreateCollectionRequest {
|
|
545
|
+
interface CreateCollectionV1V1Request {
|
|
609
546
|
name: string;
|
|
610
|
-
configuration?: Api.
|
|
611
|
-
metadata?: Api.
|
|
547
|
+
configuration?: Api.CreateCollectionV1V1Request.Configuration | null;
|
|
548
|
+
metadata?: Api.CreateCollectionV1V1Request.Metadata | null;
|
|
612
549
|
'get_or_create'?: boolean;
|
|
613
550
|
}
|
|
614
551
|
/**
|
|
615
552
|
* @export
|
|
616
|
-
* @namespace
|
|
553
|
+
* @namespace CreateCollectionV1V1Request
|
|
617
554
|
*/
|
|
618
|
-
namespace
|
|
555
|
+
namespace CreateCollectionV1V1Request {
|
|
619
556
|
interface Configuration {
|
|
620
557
|
}
|
|
621
558
|
interface Metadata {
|
|
622
559
|
}
|
|
623
560
|
}
|
|
624
|
-
interface
|
|
625
|
-
}
|
|
626
|
-
interface CreateCollectionV1Request {
|
|
561
|
+
interface CreateCollectionV2Request {
|
|
627
562
|
name: string;
|
|
628
|
-
configuration?: Api.
|
|
629
|
-
metadata?: Api.
|
|
563
|
+
configuration?: Api.CreateCollectionV2Request.Configuration | null;
|
|
564
|
+
metadata?: Api.CreateCollectionV2Request.Metadata | null;
|
|
630
565
|
'get_or_create'?: boolean;
|
|
631
566
|
}
|
|
632
567
|
/**
|
|
633
568
|
* @export
|
|
634
|
-
* @namespace
|
|
569
|
+
* @namespace CreateCollectionV2Request
|
|
635
570
|
*/
|
|
636
|
-
namespace
|
|
571
|
+
namespace CreateCollectionV2Request {
|
|
637
572
|
interface Configuration {
|
|
638
573
|
}
|
|
639
574
|
interface Metadata {
|
|
640
575
|
}
|
|
641
576
|
}
|
|
642
|
-
interface
|
|
643
|
-
}
|
|
644
|
-
interface CreateDatabaseRequest {
|
|
577
|
+
interface CreateDatabaseV1V1Request {
|
|
645
578
|
name: string;
|
|
646
579
|
}
|
|
647
|
-
interface
|
|
648
|
-
}
|
|
649
|
-
interface CreateDatabaseV1Request {
|
|
580
|
+
interface CreateDatabaseV2Request {
|
|
650
581
|
name: string;
|
|
651
582
|
}
|
|
652
|
-
interface
|
|
653
|
-
}
|
|
654
|
-
interface CreateTenantRequest {
|
|
583
|
+
interface CreateTenantV1V1Request {
|
|
655
584
|
name: string;
|
|
656
585
|
}
|
|
657
|
-
interface
|
|
658
|
-
}
|
|
659
|
-
interface CreateTenantV1Request {
|
|
586
|
+
interface CreateTenantV2Request {
|
|
660
587
|
name: string;
|
|
661
588
|
}
|
|
662
|
-
interface
|
|
663
|
-
}
|
|
664
|
-
interface DeleteCollectionV1200Response {
|
|
665
|
-
}
|
|
666
|
-
interface DeleteDatabase200Response {
|
|
667
|
-
}
|
|
668
|
-
interface DeleteV1200Response {
|
|
669
|
-
}
|
|
670
|
-
interface DeleteV1Request {
|
|
589
|
+
interface DeleteV1V1Request {
|
|
671
590
|
ids?: (string[]) | null;
|
|
672
|
-
where?: Api.
|
|
673
|
-
'where_document'?: Api.
|
|
591
|
+
where?: Api.DeleteV1V1Request.Where | null;
|
|
592
|
+
'where_document'?: Api.DeleteV1V1Request.WhereDocument | null;
|
|
674
593
|
}
|
|
675
594
|
/**
|
|
676
595
|
* @export
|
|
677
|
-
* @namespace
|
|
596
|
+
* @namespace DeleteV1V1Request
|
|
678
597
|
*/
|
|
679
|
-
namespace
|
|
598
|
+
namespace DeleteV1V1Request {
|
|
680
599
|
interface Where {
|
|
681
600
|
}
|
|
682
601
|
interface WhereDocument {
|
|
683
602
|
}
|
|
684
603
|
}
|
|
685
|
-
interface
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
interface GetDatabase200Response {
|
|
690
|
-
}
|
|
691
|
-
interface GetDatabaseV1200Response {
|
|
604
|
+
interface DeleteV2Request {
|
|
605
|
+
ids?: (string[]) | null;
|
|
606
|
+
where?: Api.DeleteV2Request.Where | null;
|
|
607
|
+
'where_document'?: Api.DeleteV2Request.WhereDocument | null;
|
|
692
608
|
}
|
|
693
|
-
|
|
609
|
+
/**
|
|
610
|
+
* @export
|
|
611
|
+
* @namespace DeleteV2Request
|
|
612
|
+
*/
|
|
613
|
+
namespace DeleteV2Request {
|
|
614
|
+
interface Where {
|
|
615
|
+
}
|
|
616
|
+
interface WhereDocument {
|
|
617
|
+
}
|
|
694
618
|
}
|
|
695
|
-
interface
|
|
696
|
-
where?: Api.
|
|
697
|
-
'where_document'?: Api.
|
|
698
|
-
'query_embeddings':
|
|
619
|
+
interface GetNearestNeighborsV1V1Request {
|
|
620
|
+
where?: Api.GetNearestNeighborsV1V1Request.Where | null;
|
|
621
|
+
'where_document'?: Api.GetNearestNeighborsV1V1Request.WhereDocument | null;
|
|
622
|
+
'query_embeddings': unknown[];
|
|
699
623
|
/**
|
|
700
624
|
* @type {number}
|
|
701
|
-
* @memberof
|
|
625
|
+
* @memberof GetNearestNeighborsV1V1Request
|
|
702
626
|
*/
|
|
703
627
|
'n_results'?: number;
|
|
704
628
|
include?: Api.IncludeEnum[];
|
|
705
629
|
}
|
|
706
630
|
/**
|
|
707
631
|
* @export
|
|
708
|
-
* @namespace
|
|
632
|
+
* @namespace GetNearestNeighborsV1V1Request
|
|
709
633
|
*/
|
|
710
|
-
namespace
|
|
634
|
+
namespace GetNearestNeighborsV1V1Request {
|
|
711
635
|
interface Where {
|
|
712
636
|
}
|
|
713
637
|
interface WhereDocument {
|
|
714
638
|
}
|
|
715
|
-
interface QueryEmbedding {
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
interface GetNearestNeighborsV1200Response {
|
|
719
639
|
}
|
|
720
|
-
interface
|
|
721
|
-
where?: Api.
|
|
722
|
-
'where_document'?: Api.
|
|
723
|
-
'query_embeddings':
|
|
640
|
+
interface GetNearestNeighborsV2Request {
|
|
641
|
+
where?: Api.GetNearestNeighborsV2Request.Where | null;
|
|
642
|
+
'where_document'?: Api.GetNearestNeighborsV2Request.WhereDocument | null;
|
|
643
|
+
'query_embeddings': unknown[];
|
|
724
644
|
/**
|
|
725
645
|
* @type {number}
|
|
726
|
-
* @memberof
|
|
646
|
+
* @memberof GetNearestNeighborsV2Request
|
|
727
647
|
*/
|
|
728
648
|
'n_results'?: number;
|
|
729
649
|
include?: Api.IncludeEnum[];
|
|
730
650
|
}
|
|
731
651
|
/**
|
|
732
652
|
* @export
|
|
733
|
-
* @namespace
|
|
653
|
+
* @namespace GetNearestNeighborsV2Request
|
|
734
654
|
*/
|
|
735
|
-
namespace
|
|
655
|
+
namespace GetNearestNeighborsV2Request {
|
|
736
656
|
interface Where {
|
|
737
657
|
}
|
|
738
658
|
interface WhereDocument {
|
|
739
659
|
}
|
|
740
|
-
interface QueryEmbedding {
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
interface GetTenant200Response {
|
|
744
660
|
}
|
|
745
|
-
interface
|
|
746
|
-
|
|
747
|
-
|
|
661
|
+
interface GetV1V1Request {
|
|
662
|
+
ids?: (string[]) | null;
|
|
663
|
+
where?: Api.GetV1V1Request.Where | null;
|
|
664
|
+
'where_document'?: Api.GetV1V1Request.WhereDocument | null;
|
|
665
|
+
sort?: string | null;
|
|
666
|
+
/**
|
|
667
|
+
* @type {number | null}
|
|
668
|
+
* @memberof GetV1V1Request
|
|
669
|
+
*/
|
|
670
|
+
limit?: number | null;
|
|
671
|
+
/**
|
|
672
|
+
* @type {number | null}
|
|
673
|
+
* @memberof GetV1V1Request
|
|
674
|
+
*/
|
|
675
|
+
offset?: number | null;
|
|
676
|
+
include?: Api.IncludeEnum[];
|
|
748
677
|
}
|
|
749
|
-
|
|
678
|
+
/**
|
|
679
|
+
* @export
|
|
680
|
+
* @namespace GetV1V1Request
|
|
681
|
+
*/
|
|
682
|
+
namespace GetV1V1Request {
|
|
683
|
+
interface Where {
|
|
684
|
+
}
|
|
685
|
+
interface WhereDocument {
|
|
686
|
+
}
|
|
750
687
|
}
|
|
751
|
-
interface
|
|
688
|
+
interface GetV2Request {
|
|
752
689
|
ids?: (string[]) | null;
|
|
753
|
-
where?: Api.
|
|
754
|
-
'where_document'?: Api.
|
|
690
|
+
where?: Api.GetV2Request.Where | null;
|
|
691
|
+
'where_document'?: Api.GetV2Request.WhereDocument | null;
|
|
755
692
|
sort?: string | null;
|
|
756
693
|
/**
|
|
757
694
|
* @type {number | null}
|
|
758
|
-
* @memberof
|
|
695
|
+
* @memberof GetV2Request
|
|
759
696
|
*/
|
|
760
697
|
limit?: number | null;
|
|
761
698
|
/**
|
|
762
699
|
* @type {number | null}
|
|
763
|
-
* @memberof
|
|
700
|
+
* @memberof GetV2Request
|
|
764
701
|
*/
|
|
765
702
|
offset?: number | null;
|
|
766
703
|
include?: Api.IncludeEnum[];
|
|
767
704
|
}
|
|
768
705
|
/**
|
|
769
706
|
* @export
|
|
770
|
-
* @namespace
|
|
707
|
+
* @namespace GetV2Request
|
|
771
708
|
*/
|
|
772
|
-
namespace
|
|
709
|
+
namespace GetV2Request {
|
|
773
710
|
interface Where {
|
|
774
711
|
}
|
|
775
712
|
interface WhereDocument {
|
|
@@ -786,117 +723,91 @@ declare namespace Api {
|
|
|
786
723
|
Uris = "uris",
|
|
787
724
|
Data = "data"
|
|
788
725
|
}
|
|
789
|
-
interface
|
|
790
|
-
}
|
|
791
|
-
interface ListCollectionsV1200Response {
|
|
792
|
-
}
|
|
793
|
-
interface ListDatabases200Response {
|
|
726
|
+
interface PreFlightChecksV1200Response {
|
|
794
727
|
}
|
|
795
|
-
interface
|
|
728
|
+
interface PreFlightChecksV2200Response {
|
|
796
729
|
}
|
|
797
|
-
interface
|
|
798
|
-
}
|
|
799
|
-
interface Update200Response {
|
|
800
|
-
}
|
|
801
|
-
interface UpdateCollection200Response {
|
|
802
|
-
}
|
|
803
|
-
interface UpdateCollectionRequest {
|
|
730
|
+
interface UpdateCollectionV1V1Request {
|
|
804
731
|
'new_name'?: string | null;
|
|
805
|
-
'new_metadata'?: Api.
|
|
732
|
+
'new_metadata'?: Api.UpdateCollectionV1V1Request.NewMetadata | null;
|
|
806
733
|
}
|
|
807
734
|
/**
|
|
808
735
|
* @export
|
|
809
|
-
* @namespace
|
|
736
|
+
* @namespace UpdateCollectionV1V1Request
|
|
810
737
|
*/
|
|
811
|
-
namespace
|
|
738
|
+
namespace UpdateCollectionV1V1Request {
|
|
812
739
|
interface NewMetadata {
|
|
813
740
|
}
|
|
814
741
|
}
|
|
815
|
-
interface
|
|
816
|
-
}
|
|
817
|
-
interface UpdateCollectionV1Request {
|
|
742
|
+
interface UpdateCollectionV2Request {
|
|
818
743
|
'new_name'?: string | null;
|
|
819
|
-
'new_metadata'?: Api.
|
|
744
|
+
'new_metadata'?: Api.UpdateCollectionV2Request.NewMetadata | null;
|
|
820
745
|
}
|
|
821
746
|
/**
|
|
822
747
|
* @export
|
|
823
|
-
* @namespace
|
|
748
|
+
* @namespace UpdateCollectionV2Request
|
|
824
749
|
*/
|
|
825
|
-
namespace
|
|
750
|
+
namespace UpdateCollectionV2Request {
|
|
826
751
|
interface NewMetadata {
|
|
827
752
|
}
|
|
828
753
|
}
|
|
829
|
-
interface
|
|
830
|
-
embeddings?: (
|
|
831
|
-
metadatas?: ((Api.
|
|
754
|
+
interface UpdateV1V1Request {
|
|
755
|
+
embeddings?: (unknown[]) | null;
|
|
756
|
+
metadatas?: ((Api.UpdateV1V1Request.Metadatum | null)[]) | null;
|
|
832
757
|
documents?: ((string | null)[]) | null;
|
|
833
758
|
uris?: ((string | null)[]) | null;
|
|
834
759
|
ids: string[];
|
|
835
760
|
}
|
|
836
761
|
/**
|
|
837
762
|
* @export
|
|
838
|
-
* @namespace
|
|
763
|
+
* @namespace UpdateV1V1Request
|
|
839
764
|
*/
|
|
840
|
-
namespace
|
|
841
|
-
interface Embedding {
|
|
842
|
-
}
|
|
765
|
+
namespace UpdateV1V1Request {
|
|
843
766
|
interface Metadatum {
|
|
844
767
|
}
|
|
845
768
|
}
|
|
846
|
-
interface
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
embeddings?: (Api.UpdateV1Request.Embedding[]) | null;
|
|
850
|
-
metadatas?: ((Api.UpdateV1Request.Metadatum | null)[]) | null;
|
|
769
|
+
interface UpdateV2Request {
|
|
770
|
+
embeddings?: (unknown[]) | null;
|
|
771
|
+
metadatas?: ((Api.UpdateV2Request.Metadatum | null)[]) | null;
|
|
851
772
|
documents?: ((string | null)[]) | null;
|
|
852
773
|
uris?: ((string | null)[]) | null;
|
|
853
774
|
ids: string[];
|
|
854
775
|
}
|
|
855
776
|
/**
|
|
856
777
|
* @export
|
|
857
|
-
* @namespace
|
|
778
|
+
* @namespace UpdateV2Request
|
|
858
779
|
*/
|
|
859
|
-
namespace
|
|
860
|
-
interface Embedding {
|
|
861
|
-
}
|
|
780
|
+
namespace UpdateV2Request {
|
|
862
781
|
interface Metadatum {
|
|
863
782
|
}
|
|
864
783
|
}
|
|
865
|
-
interface
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
embeddings?: (Api.UpsertRequest.Embedding[]) | null;
|
|
869
|
-
metadatas?: ((Api.UpsertRequest.Metadatum | null)[]) | null;
|
|
784
|
+
interface UpsertV1V1Request {
|
|
785
|
+
embeddings?: (unknown[]) | null;
|
|
786
|
+
metadatas?: ((Api.UpsertV1V1Request.Metadatum | null)[]) | null;
|
|
870
787
|
documents?: ((string | null)[]) | null;
|
|
871
788
|
uris?: ((string | null)[]) | null;
|
|
872
789
|
ids: string[];
|
|
873
790
|
}
|
|
874
791
|
/**
|
|
875
792
|
* @export
|
|
876
|
-
* @namespace
|
|
793
|
+
* @namespace UpsertV1V1Request
|
|
877
794
|
*/
|
|
878
|
-
namespace
|
|
879
|
-
interface Embedding {
|
|
880
|
-
}
|
|
795
|
+
namespace UpsertV1V1Request {
|
|
881
796
|
interface Metadatum {
|
|
882
797
|
}
|
|
883
798
|
}
|
|
884
|
-
interface
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
embeddings?: (Api.UpsertV1Request.Embedding[]) | null;
|
|
888
|
-
metadatas?: ((Api.UpsertV1Request.Metadatum | null)[]) | null;
|
|
799
|
+
interface UpsertV2Request {
|
|
800
|
+
embeddings?: (unknown[]) | null;
|
|
801
|
+
metadatas?: ((Api.UpsertV2Request.Metadatum | null)[]) | null;
|
|
889
802
|
documents?: ((string | null)[]) | null;
|
|
890
803
|
uris?: ((string | null)[]) | null;
|
|
891
804
|
ids: string[];
|
|
892
805
|
}
|
|
893
806
|
/**
|
|
894
807
|
* @export
|
|
895
|
-
* @namespace
|
|
808
|
+
* @namespace UpsertV2Request
|
|
896
809
|
*/
|
|
897
|
-
namespace
|
|
898
|
-
interface Embedding {
|
|
899
|
-
}
|
|
810
|
+
namespace UpsertV2Request {
|
|
900
811
|
interface Metadatum {
|
|
901
812
|
}
|
|
902
813
|
}
|
|
@@ -911,7 +822,7 @@ declare namespace Api {
|
|
|
911
822
|
* Chroma
|
|
912
823
|
*
|
|
913
824
|
*
|
|
914
|
-
* OpenAPI spec version: 0.
|
|
825
|
+
* OpenAPI spec version: 1.0.0
|
|
915
826
|
*
|
|
916
827
|
*
|
|
917
828
|
* NOTE: This class is auto generated by OpenAPI Generator+.
|
|
@@ -927,123 +838,112 @@ declare namespace Api {
|
|
|
927
838
|
*/
|
|
928
839
|
declare class ApiApi extends BaseAPI {
|
|
929
840
|
/**
|
|
930
|
-
* @summary Add
|
|
931
|
-
* @param {string} tenant
|
|
932
|
-
* @param {string} databaseName
|
|
841
|
+
* @summary Add V1
|
|
933
842
|
* @param {string} collectionId
|
|
934
|
-
* @param {Api.
|
|
843
|
+
* @param {Api.AddV1V1Request} request
|
|
935
844
|
* @param {RequestInit} [options] Override http request option.
|
|
936
845
|
* @throws {RequiredError}
|
|
937
846
|
*/
|
|
938
|
-
|
|
847
|
+
addV1V1(collectionId: string, request: Api.AddV1V1Request, options?: RequestInit): Promise<unknown>;
|
|
939
848
|
/**
|
|
940
|
-
* @summary Add
|
|
849
|
+
* @summary Add
|
|
850
|
+
* @param {string} tenant
|
|
851
|
+
* @param {string} databaseName
|
|
941
852
|
* @param {string} collectionId
|
|
942
|
-
* @param {Api.
|
|
853
|
+
* @param {Api.AddV2Request} request
|
|
943
854
|
* @param {RequestInit} [options] Override http request option.
|
|
944
855
|
* @throws {RequiredError}
|
|
945
856
|
*/
|
|
946
|
-
|
|
857
|
+
addV2(tenant: string, databaseName: string, collectionId: string, request: Api.AddV2Request, options?: RequestInit): Promise<unknown>;
|
|
947
858
|
/**
|
|
948
|
-
* @summary
|
|
949
|
-
* @param {string}
|
|
950
|
-
* @param {string}
|
|
951
|
-
* @param {string} databaseName
|
|
952
|
-
* @param {Api.ADeleteRequest} request
|
|
859
|
+
* @summary Count Collections V1
|
|
860
|
+
* @param {string} [tenant]
|
|
861
|
+
* @param {string} [database]
|
|
953
862
|
* @param {RequestInit} [options] Override http request option.
|
|
954
863
|
* @throws {RequiredError}
|
|
955
864
|
*/
|
|
956
|
-
|
|
865
|
+
countCollectionsV1V1(tenant: string | undefined, database: string | undefined, options?: RequestInit): Promise<unknown>;
|
|
957
866
|
/**
|
|
958
|
-
* @summary
|
|
959
|
-
* @param {string} collectionId
|
|
867
|
+
* @summary Count Collections
|
|
960
868
|
* @param {string} tenant
|
|
961
869
|
* @param {string} databaseName
|
|
962
|
-
* @param {Api.AGetRequest} request
|
|
963
870
|
* @param {RequestInit} [options] Override http request option.
|
|
964
871
|
* @throws {RequiredError}
|
|
965
872
|
*/
|
|
966
|
-
|
|
873
|
+
countCollectionsV2(tenant: string, databaseName: string, options?: RequestInit): Promise<unknown>;
|
|
967
874
|
/**
|
|
968
|
-
* @summary Count
|
|
969
|
-
* @param {string} tenant
|
|
970
|
-
* @param {string} databaseName
|
|
875
|
+
* @summary Count V1
|
|
971
876
|
* @param {string} collectionId
|
|
972
877
|
* @param {RequestInit} [options] Override http request option.
|
|
973
878
|
* @throws {RequiredError}
|
|
974
879
|
*/
|
|
975
|
-
|
|
880
|
+
countV1V1(collectionId: string, options?: RequestInit): Promise<unknown>;
|
|
976
881
|
/**
|
|
977
|
-
* @summary Count
|
|
882
|
+
* @summary Count
|
|
978
883
|
* @param {string} tenant
|
|
979
884
|
* @param {string} databaseName
|
|
885
|
+
* @param {string} collectionId
|
|
980
886
|
* @param {RequestInit} [options] Override http request option.
|
|
981
887
|
* @throws {RequiredError}
|
|
982
888
|
*/
|
|
983
|
-
|
|
889
|
+
countV2(tenant: string, databaseName: string, collectionId: string, options?: RequestInit): Promise<unknown>;
|
|
984
890
|
/**
|
|
985
|
-
* @summary
|
|
891
|
+
* @summary Create Collection V1
|
|
986
892
|
* @param {string} [tenant]
|
|
987
893
|
* @param {string} [database]
|
|
894
|
+
* @param {Api.CreateCollectionV1V1Request} request
|
|
988
895
|
* @param {RequestInit} [options] Override http request option.
|
|
989
896
|
* @throws {RequiredError}
|
|
990
897
|
*/
|
|
991
|
-
|
|
992
|
-
/**
|
|
993
|
-
* @summary Count V1
|
|
994
|
-
* @param {string} collectionId
|
|
995
|
-
* @param {RequestInit} [options] Override http request option.
|
|
996
|
-
* @throws {RequiredError}
|
|
997
|
-
*/
|
|
998
|
-
countV1(collectionId: string, options?: RequestInit): Promise<Api.CountV1200Response>;
|
|
898
|
+
createCollectionV1V1(tenant: string | undefined, database: string | undefined, request: Api.CreateCollectionV1V1Request, options?: RequestInit): Promise<unknown>;
|
|
999
899
|
/**
|
|
1000
900
|
* @summary Create Collection
|
|
1001
901
|
* @param {string} tenant
|
|
1002
902
|
* @param {string} databaseName
|
|
1003
|
-
* @param {Api.
|
|
903
|
+
* @param {Api.CreateCollectionV2Request} request
|
|
1004
904
|
* @param {RequestInit} [options] Override http request option.
|
|
1005
905
|
* @throws {RequiredError}
|
|
1006
906
|
*/
|
|
1007
|
-
|
|
907
|
+
createCollectionV2(tenant: string, databaseName: string, request: Api.CreateCollectionV2Request, options?: RequestInit): Promise<unknown>;
|
|
1008
908
|
/**
|
|
1009
|
-
* @summary Create
|
|
909
|
+
* @summary Create Database V1
|
|
1010
910
|
* @param {string} [tenant]
|
|
1011
|
-
* @param {
|
|
1012
|
-
* @param {Api.CreateCollectionV1Request} request
|
|
911
|
+
* @param {Api.CreateDatabaseV1V1Request} request
|
|
1013
912
|
* @param {RequestInit} [options] Override http request option.
|
|
1014
913
|
* @throws {RequiredError}
|
|
1015
914
|
*/
|
|
1016
|
-
|
|
915
|
+
createDatabaseV1V1(tenant: string | undefined, request: Api.CreateDatabaseV1V1Request, options?: RequestInit): Promise<unknown>;
|
|
1017
916
|
/**
|
|
1018
917
|
* @summary Create Database
|
|
1019
918
|
* @param {string} tenant
|
|
1020
|
-
* @param {Api.
|
|
919
|
+
* @param {Api.CreateDatabaseV2Request} request
|
|
1021
920
|
* @param {RequestInit} [options] Override http request option.
|
|
1022
921
|
* @throws {RequiredError}
|
|
1023
922
|
*/
|
|
1024
|
-
|
|
923
|
+
createDatabaseV2(tenant: string, request: Api.CreateDatabaseV2Request, options?: RequestInit): Promise<unknown>;
|
|
1025
924
|
/**
|
|
1026
|
-
* @summary Create
|
|
1027
|
-
* @param {
|
|
1028
|
-
* @param {Api.CreateDatabaseV1Request} request
|
|
925
|
+
* @summary Create Tenant V1
|
|
926
|
+
* @param {Api.CreateTenantV1V1Request} request
|
|
1029
927
|
* @param {RequestInit} [options] Override http request option.
|
|
1030
928
|
* @throws {RequiredError}
|
|
1031
929
|
*/
|
|
1032
|
-
|
|
930
|
+
createTenantV1V1(request: Api.CreateTenantV1V1Request, options?: RequestInit): Promise<unknown>;
|
|
1033
931
|
/**
|
|
1034
932
|
* @summary Create Tenant
|
|
1035
|
-
* @param {Api.
|
|
933
|
+
* @param {Api.CreateTenantV2Request} request
|
|
1036
934
|
* @param {RequestInit} [options] Override http request option.
|
|
1037
935
|
* @throws {RequiredError}
|
|
1038
936
|
*/
|
|
1039
|
-
|
|
937
|
+
createTenantV2(request: Api.CreateTenantV2Request, options?: RequestInit): Promise<unknown>;
|
|
1040
938
|
/**
|
|
1041
|
-
* @summary
|
|
1042
|
-
* @param {
|
|
939
|
+
* @summary Delete Collection V1
|
|
940
|
+
* @param {string} collectionName
|
|
941
|
+
* @param {string} [tenant]
|
|
942
|
+
* @param {string} [database]
|
|
1043
943
|
* @param {RequestInit} [options] Override http request option.
|
|
1044
944
|
* @throws {RequiredError}
|
|
1045
945
|
*/
|
|
1046
|
-
|
|
946
|
+
deleteCollectionV1V1(collectionName: string, tenant: string | undefined, database: string | undefined, options?: RequestInit): Promise<unknown>;
|
|
1047
947
|
/**
|
|
1048
948
|
* @summary Delete Collection
|
|
1049
949
|
* @param {string} collectionName
|
|
@@ -1052,16 +952,7 @@ declare class ApiApi extends BaseAPI {
|
|
|
1052
952
|
* @param {RequestInit} [options] Override http request option.
|
|
1053
953
|
* @throws {RequiredError}
|
|
1054
954
|
*/
|
|
1055
|
-
|
|
1056
|
-
/**
|
|
1057
|
-
* @summary Delete Collection V1
|
|
1058
|
-
* @param {string} collectionName
|
|
1059
|
-
* @param {string} [tenant]
|
|
1060
|
-
* @param {string} [database]
|
|
1061
|
-
* @param {RequestInit} [options] Override http request option.
|
|
1062
|
-
* @throws {RequiredError}
|
|
1063
|
-
*/
|
|
1064
|
-
deleteCollectionV1(collectionName: string, tenant: string | undefined, database: string | undefined, options?: RequestInit): Promise<Api.DeleteCollectionV1200Response>;
|
|
955
|
+
deleteCollectionV2(collectionName: string, tenant: string, databaseName: string, options?: RequestInit): Promise<unknown>;
|
|
1065
956
|
/**
|
|
1066
957
|
* @summary Delete Database
|
|
1067
958
|
* @param {string} databaseName
|
|
@@ -1069,24 +960,25 @@ declare class ApiApi extends BaseAPI {
|
|
|
1069
960
|
* @param {RequestInit} [options] Override http request option.
|
|
1070
961
|
* @throws {RequiredError}
|
|
1071
962
|
*/
|
|
1072
|
-
|
|
963
|
+
deleteDatabaseV2(databaseName: string, tenant: string, options?: RequestInit): Promise<unknown>;
|
|
1073
964
|
/**
|
|
1074
965
|
* @summary Delete V1
|
|
1075
966
|
* @param {string} collectionId
|
|
1076
|
-
* @param {Api.
|
|
967
|
+
* @param {Api.DeleteV1V1Request} request
|
|
1077
968
|
* @param {RequestInit} [options] Override http request option.
|
|
1078
969
|
* @throws {RequiredError}
|
|
1079
970
|
*/
|
|
1080
|
-
|
|
971
|
+
deleteV1V1(collectionId: string, request: Api.DeleteV1V1Request, options?: RequestInit): Promise<unknown>;
|
|
1081
972
|
/**
|
|
1082
|
-
* @summary
|
|
973
|
+
* @summary Delete
|
|
974
|
+
* @param {string} collectionId
|
|
1083
975
|
* @param {string} tenant
|
|
1084
976
|
* @param {string} databaseName
|
|
1085
|
-
* @param {
|
|
977
|
+
* @param {Api.DeleteV2Request} request
|
|
1086
978
|
* @param {RequestInit} [options] Override http request option.
|
|
1087
979
|
* @throws {RequiredError}
|
|
1088
980
|
*/
|
|
1089
|
-
|
|
981
|
+
deleteV2(collectionId: string, tenant: string, databaseName: string, request: Api.DeleteV2Request, options?: RequestInit): Promise<unknown>;
|
|
1090
982
|
/**
|
|
1091
983
|
* @summary Get Collection V1
|
|
1092
984
|
* @param {string} collectionName
|
|
@@ -1095,15 +987,16 @@ declare class ApiApi extends BaseAPI {
|
|
|
1095
987
|
* @param {RequestInit} [options] Override http request option.
|
|
1096
988
|
* @throws {RequiredError}
|
|
1097
989
|
*/
|
|
1098
|
-
|
|
990
|
+
getCollectionV1V1(collectionName: string, tenant: string | undefined, database: string | undefined, options?: RequestInit): Promise<unknown>;
|
|
1099
991
|
/**
|
|
1100
|
-
* @summary Get
|
|
1101
|
-
* @param {string} databaseName
|
|
992
|
+
* @summary Get Collection
|
|
1102
993
|
* @param {string} tenant
|
|
994
|
+
* @param {string} databaseName
|
|
995
|
+
* @param {string} collectionName
|
|
1103
996
|
* @param {RequestInit} [options] Override http request option.
|
|
1104
997
|
* @throws {RequiredError}
|
|
1105
998
|
*/
|
|
1106
|
-
|
|
999
|
+
getCollectionV2(tenant: string, databaseName: string, collectionName: string, options?: RequestInit): Promise<unknown>;
|
|
1107
1000
|
/**
|
|
1108
1001
|
* @summary Get Database V1
|
|
1109
1002
|
* @param {string} database
|
|
@@ -1111,204 +1004,222 @@ declare class ApiApi extends BaseAPI {
|
|
|
1111
1004
|
* @param {RequestInit} [options] Override http request option.
|
|
1112
1005
|
* @throws {RequiredError}
|
|
1113
1006
|
*/
|
|
1114
|
-
|
|
1007
|
+
getDatabaseV1V1(database: string, tenant: string | undefined, options?: RequestInit): Promise<unknown>;
|
|
1115
1008
|
/**
|
|
1116
|
-
* @summary Get
|
|
1117
|
-
* @param {string} tenant
|
|
1009
|
+
* @summary Get Database
|
|
1118
1010
|
* @param {string} databaseName
|
|
1119
|
-
* @param {string}
|
|
1120
|
-
* @param {Api.GetNearestNeighborsRequest} request
|
|
1011
|
+
* @param {string} tenant
|
|
1121
1012
|
* @param {RequestInit} [options] Override http request option.
|
|
1122
1013
|
* @throws {RequiredError}
|
|
1123
1014
|
*/
|
|
1124
|
-
|
|
1015
|
+
getDatabaseV2(databaseName: string, tenant: string, options?: RequestInit): Promise<unknown>;
|
|
1125
1016
|
/**
|
|
1126
1017
|
* @summary Get Nearest Neighbors V1
|
|
1127
1018
|
* @param {string} collectionId
|
|
1128
|
-
* @param {Api.
|
|
1019
|
+
* @param {Api.GetNearestNeighborsV1V1Request} request
|
|
1129
1020
|
* @param {RequestInit} [options] Override http request option.
|
|
1130
1021
|
* @throws {RequiredError}
|
|
1131
1022
|
*/
|
|
1132
|
-
|
|
1023
|
+
getNearestNeighborsV1V1(collectionId: string, request: Api.GetNearestNeighborsV1V1Request, options?: RequestInit): Promise<unknown>;
|
|
1133
1024
|
/**
|
|
1134
|
-
* @summary Get
|
|
1025
|
+
* @summary Get Nearest Neighbors
|
|
1135
1026
|
* @param {string} tenant
|
|
1027
|
+
* @param {string} databaseName
|
|
1028
|
+
* @param {string} collectionId
|
|
1029
|
+
* @param {Api.GetNearestNeighborsV2Request} request
|
|
1136
1030
|
* @param {RequestInit} [options] Override http request option.
|
|
1137
1031
|
* @throws {RequiredError}
|
|
1138
1032
|
*/
|
|
1139
|
-
|
|
1033
|
+
getNearestNeighborsV2(tenant: string, databaseName: string, collectionId: string, request: Api.GetNearestNeighborsV2Request, options?: RequestInit): Promise<unknown>;
|
|
1140
1034
|
/**
|
|
1141
1035
|
* @summary Get Tenant V1
|
|
1142
1036
|
* @param {string} tenant
|
|
1143
1037
|
* @param {RequestInit} [options] Override http request option.
|
|
1144
1038
|
* @throws {RequiredError}
|
|
1145
1039
|
*/
|
|
1146
|
-
|
|
1040
|
+
getTenantV1V1(tenant: string, options?: RequestInit): Promise<unknown>;
|
|
1147
1041
|
/**
|
|
1148
|
-
* @summary Get
|
|
1042
|
+
* @summary Get Tenant
|
|
1043
|
+
* @param {string} tenant
|
|
1149
1044
|
* @param {RequestInit} [options] Override http request option.
|
|
1150
1045
|
* @throws {RequiredError}
|
|
1151
1046
|
*/
|
|
1152
|
-
|
|
1047
|
+
getTenantV2(tenant: string, options?: RequestInit): Promise<unknown>;
|
|
1153
1048
|
/**
|
|
1154
|
-
* @summary
|
|
1049
|
+
* @summary Get User Identity
|
|
1155
1050
|
* @param {RequestInit} [options] Override http request option.
|
|
1156
1051
|
* @throws {RequiredError}
|
|
1157
1052
|
*/
|
|
1158
|
-
|
|
1159
|
-
[name: string]: number;
|
|
1160
|
-
}>;
|
|
1053
|
+
getUserIdentityV2(options?: RequestInit): Promise<unknown>;
|
|
1161
1054
|
/**
|
|
1162
1055
|
* @summary Get V1
|
|
1163
1056
|
* @param {string} collectionId
|
|
1164
|
-
* @param {Api.
|
|
1057
|
+
* @param {Api.GetV1V1Request} request
|
|
1165
1058
|
* @param {RequestInit} [options] Override http request option.
|
|
1166
1059
|
* @throws {RequiredError}
|
|
1167
1060
|
*/
|
|
1168
|
-
|
|
1061
|
+
getV1V1(collectionId: string, request: Api.GetV1V1Request, options?: RequestInit): Promise<unknown>;
|
|
1062
|
+
/**
|
|
1063
|
+
* @summary Get
|
|
1064
|
+
* @param {string} collectionId
|
|
1065
|
+
* @param {string} tenant
|
|
1066
|
+
* @param {string} databaseName
|
|
1067
|
+
* @param {Api.GetV2Request} request
|
|
1068
|
+
* @param {RequestInit} [options] Override http request option.
|
|
1069
|
+
* @throws {RequiredError}
|
|
1070
|
+
*/
|
|
1071
|
+
getV2(collectionId: string, tenant: string, databaseName: string, request: Api.GetV2Request, options?: RequestInit): Promise<unknown>;
|
|
1169
1072
|
/**
|
|
1170
1073
|
* @summary Heartbeat
|
|
1171
1074
|
* @param {RequestInit} [options] Override http request option.
|
|
1172
1075
|
* @throws {RequiredError}
|
|
1173
1076
|
*/
|
|
1174
|
-
|
|
1077
|
+
heartbeatV1(options?: RequestInit): Promise<{
|
|
1175
1078
|
[name: string]: number;
|
|
1176
1079
|
}>;
|
|
1177
1080
|
/**
|
|
1178
|
-
* @summary
|
|
1081
|
+
* @summary Heartbeat
|
|
1179
1082
|
* @param {RequestInit} [options] Override http request option.
|
|
1180
1083
|
* @throws {RequiredError}
|
|
1181
1084
|
*/
|
|
1182
|
-
|
|
1085
|
+
heartbeatV2(options?: RequestInit): Promise<{
|
|
1086
|
+
[name: string]: number;
|
|
1087
|
+
}>;
|
|
1183
1088
|
/**
|
|
1184
|
-
* @summary
|
|
1089
|
+
* @summary List Collections V1
|
|
1090
|
+
* @param {number | null} [limit]
|
|
1091
|
+
* @param {number | null} [offset]
|
|
1092
|
+
* @param {string} [tenant]
|
|
1093
|
+
* @param {string} [database]
|
|
1185
1094
|
* @param {RequestInit} [options] Override http request option.
|
|
1186
1095
|
* @throws {RequiredError}
|
|
1187
1096
|
*/
|
|
1188
|
-
|
|
1097
|
+
listCollectionsV1V1(limit: number | null | undefined, offset: number | null | undefined, tenant: string | undefined, database: string | undefined, options?: RequestInit): Promise<unknown>;
|
|
1189
1098
|
/**
|
|
1190
|
-
* @summary
|
|
1099
|
+
* @summary List Collections
|
|
1100
|
+
* @param {string} tenant
|
|
1101
|
+
* @param {string} databaseName
|
|
1102
|
+
* @param {number | null} [limit]
|
|
1103
|
+
* @param {number | null} [offset]
|
|
1191
1104
|
* @param {RequestInit} [options] Override http request option.
|
|
1192
1105
|
* @throws {RequiredError}
|
|
1193
1106
|
*/
|
|
1194
|
-
|
|
1195
|
-
[name: string]: number;
|
|
1196
|
-
}>;
|
|
1107
|
+
listCollectionsV2(tenant: string, databaseName: string, limit: number | null | undefined, offset: number | null | undefined, options?: RequestInit): Promise<unknown>;
|
|
1197
1108
|
/**
|
|
1198
|
-
* @summary
|
|
1109
|
+
* @summary List Databases
|
|
1110
|
+
* @param {string} tenant
|
|
1111
|
+
* @param {number | null} [limit]
|
|
1112
|
+
* @param {number | null} [offset]
|
|
1199
1113
|
* @param {RequestInit} [options] Override http request option.
|
|
1200
1114
|
* @throws {RequiredError}
|
|
1201
1115
|
*/
|
|
1202
|
-
|
|
1203
|
-
[name: string]: number;
|
|
1204
|
-
}>;
|
|
1116
|
+
listDatabasesV2(tenant: string, limit: number | null | undefined, offset: number | null | undefined, options?: RequestInit): Promise<unknown>;
|
|
1205
1117
|
/**
|
|
1206
1118
|
* @summary Pre Flight Checks
|
|
1207
1119
|
* @param {RequestInit} [options] Override http request option.
|
|
1208
1120
|
* @throws {RequiredError}
|
|
1209
1121
|
*/
|
|
1210
|
-
|
|
1122
|
+
preFlightChecksV1(options?: RequestInit): Promise<Api.PreFlightChecksV1200Response>;
|
|
1211
1123
|
/**
|
|
1212
|
-
* @summary
|
|
1124
|
+
* @summary Pre Flight Checks
|
|
1213
1125
|
* @param {RequestInit} [options] Override http request option.
|
|
1214
1126
|
* @throws {RequiredError}
|
|
1215
1127
|
*/
|
|
1216
|
-
|
|
1128
|
+
preFlightChecksV2(options?: RequestInit): Promise<Api.PreFlightChecksV2200Response>;
|
|
1217
1129
|
/**
|
|
1218
|
-
* @summary
|
|
1219
|
-
* @param {string} tenant
|
|
1220
|
-
* @param {string} databaseName
|
|
1221
|
-
* @param {number | null} [limit]
|
|
1222
|
-
* @param {number | null} [offset]
|
|
1130
|
+
* @summary Reset
|
|
1223
1131
|
* @param {RequestInit} [options] Override http request option.
|
|
1224
1132
|
* @throws {RequiredError}
|
|
1225
1133
|
*/
|
|
1226
|
-
|
|
1134
|
+
resetV1(options?: RequestInit): Promise<boolean>;
|
|
1227
1135
|
/**
|
|
1228
|
-
* @summary
|
|
1229
|
-
* @param {number | null} [limit]
|
|
1230
|
-
* @param {number | null} [offset]
|
|
1231
|
-
* @param {string} [tenant]
|
|
1232
|
-
* @param {string} [database]
|
|
1136
|
+
* @summary Reset
|
|
1233
1137
|
* @param {RequestInit} [options] Override http request option.
|
|
1234
1138
|
* @throws {RequiredError}
|
|
1235
1139
|
*/
|
|
1236
|
-
|
|
1140
|
+
resetV2(options?: RequestInit): Promise<boolean>;
|
|
1237
1141
|
/**
|
|
1238
|
-
* @summary
|
|
1239
|
-
* @param {string} tenant
|
|
1240
|
-
* @param {number | null} [limit]
|
|
1241
|
-
* @param {number | null} [offset]
|
|
1142
|
+
* @summary Root
|
|
1242
1143
|
* @param {RequestInit} [options] Override http request option.
|
|
1243
1144
|
* @throws {RequiredError}
|
|
1244
1145
|
*/
|
|
1245
|
-
|
|
1146
|
+
rootV1(options?: RequestInit): Promise<{
|
|
1147
|
+
[name: string]: number;
|
|
1148
|
+
}>;
|
|
1246
1149
|
/**
|
|
1247
|
-
* @summary
|
|
1150
|
+
* @summary Root
|
|
1248
1151
|
* @param {RequestInit} [options] Override http request option.
|
|
1249
1152
|
* @throws {RequiredError}
|
|
1250
1153
|
*/
|
|
1251
|
-
|
|
1154
|
+
rootV2(options?: RequestInit): Promise<{
|
|
1155
|
+
[name: string]: number;
|
|
1156
|
+
}>;
|
|
1252
1157
|
/**
|
|
1253
|
-
* @summary
|
|
1158
|
+
* @summary Update Collection V1
|
|
1159
|
+
* @param {string} collectionId
|
|
1160
|
+
* @param {Api.UpdateCollectionV1V1Request} request
|
|
1254
1161
|
* @param {RequestInit} [options] Override http request option.
|
|
1255
1162
|
* @throws {RequiredError}
|
|
1256
1163
|
*/
|
|
1257
|
-
|
|
1164
|
+
updateCollectionV1V1(collectionId: string, request: Api.UpdateCollectionV1V1Request, options?: RequestInit): Promise<unknown>;
|
|
1258
1165
|
/**
|
|
1259
|
-
* @summary Update
|
|
1166
|
+
* @summary Update Collection
|
|
1260
1167
|
* @param {string} tenant
|
|
1261
1168
|
* @param {string} databaseName
|
|
1262
1169
|
* @param {string} collectionId
|
|
1263
|
-
* @param {Api.
|
|
1170
|
+
* @param {Api.UpdateCollectionV2Request} request
|
|
1264
1171
|
* @param {RequestInit} [options] Override http request option.
|
|
1265
1172
|
* @throws {RequiredError}
|
|
1266
1173
|
*/
|
|
1267
|
-
|
|
1174
|
+
updateCollectionV2(tenant: string, databaseName: string, collectionId: string, request: Api.UpdateCollectionV2Request, options?: RequestInit): Promise<unknown>;
|
|
1268
1175
|
/**
|
|
1269
|
-
* @summary Update
|
|
1270
|
-
* @param {string} tenant
|
|
1271
|
-
* @param {string} databaseName
|
|
1176
|
+
* @summary Update V1
|
|
1272
1177
|
* @param {string} collectionId
|
|
1273
|
-
* @param {Api.
|
|
1178
|
+
* @param {Api.UpdateV1V1Request} request
|
|
1274
1179
|
* @param {RequestInit} [options] Override http request option.
|
|
1275
1180
|
* @throws {RequiredError}
|
|
1276
1181
|
*/
|
|
1277
|
-
|
|
1182
|
+
updateV1V1(collectionId: string, request: Api.UpdateV1V1Request, options?: RequestInit): Promise<unknown>;
|
|
1278
1183
|
/**
|
|
1279
|
-
* @summary Update
|
|
1184
|
+
* @summary Update
|
|
1185
|
+
* @param {string} tenant
|
|
1186
|
+
* @param {string} databaseName
|
|
1280
1187
|
* @param {string} collectionId
|
|
1281
|
-
* @param {Api.
|
|
1188
|
+
* @param {Api.UpdateV2Request} request
|
|
1282
1189
|
* @param {RequestInit} [options] Override http request option.
|
|
1283
1190
|
* @throws {RequiredError}
|
|
1284
1191
|
*/
|
|
1285
|
-
|
|
1192
|
+
updateV2(tenant: string, databaseName: string, collectionId: string, request: Api.UpdateV2Request, options?: RequestInit): Promise<unknown>;
|
|
1286
1193
|
/**
|
|
1287
|
-
* @summary
|
|
1194
|
+
* @summary Upsert V1
|
|
1288
1195
|
* @param {string} collectionId
|
|
1289
|
-
* @param {Api.
|
|
1196
|
+
* @param {Api.UpsertV1V1Request} request
|
|
1290
1197
|
* @param {RequestInit} [options] Override http request option.
|
|
1291
1198
|
* @throws {RequiredError}
|
|
1292
1199
|
*/
|
|
1293
|
-
|
|
1200
|
+
upsertV1V1(collectionId: string, request: Api.UpsertV1V1Request, options?: RequestInit): Promise<unknown>;
|
|
1294
1201
|
/**
|
|
1295
1202
|
* @summary Upsert
|
|
1296
1203
|
* @param {string} tenant
|
|
1297
1204
|
* @param {string} databaseName
|
|
1298
1205
|
* @param {string} collectionId
|
|
1299
|
-
* @param {Api.
|
|
1206
|
+
* @param {Api.UpsertV2Request} request
|
|
1300
1207
|
* @param {RequestInit} [options] Override http request option.
|
|
1301
1208
|
* @throws {RequiredError}
|
|
1302
1209
|
*/
|
|
1303
|
-
|
|
1210
|
+
upsertV2(tenant: string, databaseName: string, collectionId: string, request: Api.UpsertV2Request, options?: RequestInit): Promise<unknown>;
|
|
1304
1211
|
/**
|
|
1305
|
-
* @summary
|
|
1306
|
-
* @param {
|
|
1307
|
-
* @
|
|
1212
|
+
* @summary Version
|
|
1213
|
+
* @param {RequestInit} [options] Override http request option.
|
|
1214
|
+
* @throws {RequiredError}
|
|
1215
|
+
*/
|
|
1216
|
+
versionV1(options?: RequestInit): Promise<string>;
|
|
1217
|
+
/**
|
|
1218
|
+
* @summary Version
|
|
1308
1219
|
* @param {RequestInit} [options] Override http request option.
|
|
1309
1220
|
* @throws {RequiredError}
|
|
1310
1221
|
*/
|
|
1311
|
-
|
|
1222
|
+
versionV2(options?: RequestInit): Promise<string>;
|
|
1312
1223
|
}
|
|
1313
1224
|
|
|
1314
1225
|
declare class ChromaClient {
|
|
@@ -1745,6 +1656,7 @@ declare class CohereEmbeddingFunction implements IEmbeddingFunction {
|
|
|
1745
1656
|
buildFromConfig(config: StoredConfig$8): CohereEmbeddingFunction;
|
|
1746
1657
|
getConfig(): StoredConfig$8;
|
|
1747
1658
|
validateConfigUpdate(oldConfig: StoredConfig$8, newConfig: StoredConfig$8): void;
|
|
1659
|
+
validateConfig(config: StoredConfig$8): void;
|
|
1748
1660
|
supportedSpaces(): EmbeddingFunctionSpace[];
|
|
1749
1661
|
defaultSpace(): EmbeddingFunctionSpace;
|
|
1750
1662
|
}
|
|
@@ -1780,6 +1692,7 @@ declare class DefaultEmbeddingFunction implements IEmbeddingFunction {
|
|
|
1780
1692
|
getConfig(): StoredConfig$7;
|
|
1781
1693
|
buildFromConfig(config: StoredConfig$7): DefaultEmbeddingFunction;
|
|
1782
1694
|
validateConfigUpdate(oldConfig: StoredConfig$7, newConfig: StoredConfig$7): void;
|
|
1695
|
+
validateConfig(config: StoredConfig$7): void;
|
|
1783
1696
|
private loadClient;
|
|
1784
1697
|
/** @ignore */
|
|
1785
1698
|
static import(): Promise<{
|
|
@@ -1790,6 +1703,7 @@ declare class DefaultEmbeddingFunction implements IEmbeddingFunction {
|
|
|
1790
1703
|
interface StoredConfig$6 {
|
|
1791
1704
|
api_key_env_var: string;
|
|
1792
1705
|
model_name: string;
|
|
1706
|
+
task_type: string;
|
|
1793
1707
|
}
|
|
1794
1708
|
declare class GoogleGenerativeAiEmbeddingFunction implements IEmbeddingFunction {
|
|
1795
1709
|
name: string;
|
|
@@ -1813,6 +1727,7 @@ declare class GoogleGenerativeAiEmbeddingFunction implements IEmbeddingFunction
|
|
|
1813
1727
|
buildFromConfig(config: StoredConfig$6): GoogleGenerativeAiEmbeddingFunction;
|
|
1814
1728
|
getConfig(): StoredConfig$6;
|
|
1815
1729
|
validateConfigUpdate(oldConfig: Record<string, any>, newConfig: Record<string, any>): void;
|
|
1730
|
+
validateConfig(config: Record<string, any>): void;
|
|
1816
1731
|
}
|
|
1817
1732
|
|
|
1818
1733
|
type StoredConfig$5 = {
|
|
@@ -1826,8 +1741,9 @@ declare class HuggingFaceEmbeddingServerFunction implements IEmbeddingFunction {
|
|
|
1826
1741
|
});
|
|
1827
1742
|
generate(texts: string[]): Promise<any>;
|
|
1828
1743
|
buildFromConfig(config: StoredConfig$5): HuggingFaceEmbeddingServerFunction;
|
|
1829
|
-
|
|
1744
|
+
getConfig(): StoredConfig$5;
|
|
1830
1745
|
validateConfigUpdate(oldConfig: Record<string, any>, newConfig: Record<string, any>): void;
|
|
1746
|
+
validateConfig(config: Record<string, any>): void;
|
|
1831
1747
|
}
|
|
1832
1748
|
|
|
1833
1749
|
type StoredConfig$4 = {
|
|
@@ -1848,6 +1764,7 @@ declare class JinaEmbeddingFunction implements IEmbeddingFunction {
|
|
|
1848
1764
|
generate(texts: string[]): Promise<any[]>;
|
|
1849
1765
|
buildFromConfig(config: StoredConfig$4): JinaEmbeddingFunction;
|
|
1850
1766
|
getConfig(): StoredConfig$4;
|
|
1767
|
+
validateConfig(config: StoredConfig$4): void;
|
|
1851
1768
|
}
|
|
1852
1769
|
|
|
1853
1770
|
type StoredConfig$3 = {
|
|
@@ -1871,6 +1788,7 @@ declare class OllamaEmbeddingFunction implements IEmbeddingFunction {
|
|
|
1871
1788
|
generate(texts: string[]): Promise<any>;
|
|
1872
1789
|
buildFromConfig(config: StoredConfig$3): OllamaEmbeddingFunction;
|
|
1873
1790
|
getConfig(): StoredConfig$3;
|
|
1791
|
+
validateConfig(config: StoredConfig$3): void;
|
|
1874
1792
|
}
|
|
1875
1793
|
|
|
1876
1794
|
type StoredConfig$2 = {
|
|
@@ -1903,6 +1821,7 @@ declare class OpenAIEmbeddingFunction implements IEmbeddingFunction {
|
|
|
1903
1821
|
buildFromConfig(config: StoredConfig$2): OpenAIEmbeddingFunction;
|
|
1904
1822
|
getConfig(): StoredConfig$2;
|
|
1905
1823
|
validateConfigUpdate(oldConfig: StoredConfig$2, newConfig: StoredConfig$2): void;
|
|
1824
|
+
validateConfig(config: StoredConfig$2): void;
|
|
1906
1825
|
}
|
|
1907
1826
|
|
|
1908
1827
|
type StoredConfig$1 = {
|
|
@@ -1941,6 +1860,7 @@ declare class TransformersEmbeddingFunction implements IEmbeddingFunction {
|
|
|
1941
1860
|
buildFromConfig(config: StoredConfig$1): TransformersEmbeddingFunction;
|
|
1942
1861
|
getConfig(): StoredConfig$1;
|
|
1943
1862
|
validateConfigUpdate(oldConfig: StoredConfig$1, newConfig: StoredConfig$1): void;
|
|
1863
|
+
validateConfig(config: StoredConfig$1): void;
|
|
1944
1864
|
}
|
|
1945
1865
|
|
|
1946
1866
|
type StoredConfig = {
|
|
@@ -1952,6 +1872,7 @@ declare class VoyageAIEmbeddingFunction implements IEmbeddingFunction {
|
|
|
1952
1872
|
private voyageAiApi?;
|
|
1953
1873
|
private model;
|
|
1954
1874
|
private apiKey;
|
|
1875
|
+
private apiKeyEnvVar;
|
|
1955
1876
|
constructor({ api_key, model, api_key_env_var, }: {
|
|
1956
1877
|
api_key?: string;
|
|
1957
1878
|
model: string;
|
|
@@ -1962,7 +1883,83 @@ declare class VoyageAIEmbeddingFunction implements IEmbeddingFunction {
|
|
|
1962
1883
|
buildFromConfig(config: StoredConfig): VoyageAIEmbeddingFunction;
|
|
1963
1884
|
getConfig(): StoredConfig;
|
|
1964
1885
|
validateConfigUpdate(oldConfig: StoredConfig, newConfig: StoredConfig): void;
|
|
1886
|
+
validateConfig(config: StoredConfig): void;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
interface Schema {
|
|
1890
|
+
$schema: string;
|
|
1891
|
+
title?: string;
|
|
1892
|
+
description?: string;
|
|
1893
|
+
version?: string;
|
|
1894
|
+
type: string;
|
|
1895
|
+
properties: Record<string, any>;
|
|
1896
|
+
required?: string[];
|
|
1897
|
+
additionalProperties?: boolean;
|
|
1898
|
+
[key: string]: any;
|
|
1965
1899
|
}
|
|
1900
|
+
declare const schemaMap: {
|
|
1901
|
+
amazon_bedrock: Schema;
|
|
1902
|
+
base_schema: Schema;
|
|
1903
|
+
chroma_langchain: Schema;
|
|
1904
|
+
cohere: Schema;
|
|
1905
|
+
default: Schema;
|
|
1906
|
+
google_generative_ai: Schema;
|
|
1907
|
+
google_palm: Schema;
|
|
1908
|
+
google_vertex: Schema;
|
|
1909
|
+
huggingface: Schema;
|
|
1910
|
+
huggingface_server: Schema;
|
|
1911
|
+
instructor: Schema;
|
|
1912
|
+
jina: Schema;
|
|
1913
|
+
ollama: Schema;
|
|
1914
|
+
onnx_mini_lm_l6_v2: Schema;
|
|
1915
|
+
open_clip: Schema;
|
|
1916
|
+
openai: Schema;
|
|
1917
|
+
roboflow: Schema;
|
|
1918
|
+
sentence_transformer: Schema;
|
|
1919
|
+
text2vec: Schema;
|
|
1920
|
+
transformers: Schema;
|
|
1921
|
+
voyageai: Schema;
|
|
1922
|
+
};
|
|
1923
|
+
/**
|
|
1924
|
+
* Load a JSON schema.
|
|
1925
|
+
*
|
|
1926
|
+
* @param schemaName Name of the schema file (without .json extension)
|
|
1927
|
+
* @returns The loaded schema as an object
|
|
1928
|
+
* @throws Error if the schema is not available
|
|
1929
|
+
*/
|
|
1930
|
+
declare function loadSchema(schemaName: keyof typeof schemaMap): Schema;
|
|
1931
|
+
/**
|
|
1932
|
+
* Validate a configuration against a schema.
|
|
1933
|
+
*
|
|
1934
|
+
* @param config Configuration to validate
|
|
1935
|
+
* @param schemaName Name of the schema file (without .json extension)
|
|
1936
|
+
* @throws Error if the configuration does not match the schema
|
|
1937
|
+
*/
|
|
1938
|
+
declare function validateConfigSchema(config: Record<string, any>, schemaName: keyof typeof schemaMap): void;
|
|
1939
|
+
/**
|
|
1940
|
+
* Get the version of a schema.
|
|
1941
|
+
*
|
|
1942
|
+
* @param schemaName Name of the schema file (without .json extension)
|
|
1943
|
+
* @returns The schema version as a string
|
|
1944
|
+
* @throws Error if the schema file does not exist or is not valid JSON
|
|
1945
|
+
*/
|
|
1946
|
+
declare function getSchemaVersion(schemaName: keyof typeof schemaMap): string;
|
|
1947
|
+
/**
|
|
1948
|
+
* Get a list of all available schemas.
|
|
1949
|
+
*
|
|
1950
|
+
* @returns A list of schema names (without .json extension)
|
|
1951
|
+
*/
|
|
1952
|
+
declare function getAvailableSchemas(): (keyof typeof schemaMap)[];
|
|
1953
|
+
/**
|
|
1954
|
+
* Get information about all available schemas.
|
|
1955
|
+
*
|
|
1956
|
+
* @returns A dictionary mapping schema names to information about the schema
|
|
1957
|
+
*/
|
|
1958
|
+
declare function getSchemaInfo(): Record<string, {
|
|
1959
|
+
version: string;
|
|
1960
|
+
title: string;
|
|
1961
|
+
description: string;
|
|
1962
|
+
}>;
|
|
1966
1963
|
|
|
1967
1964
|
/**
|
|
1968
1965
|
* This is a generic Chroma error.
|
|
@@ -2030,4 +2027,4 @@ declare class ChromaUniqueError extends Error {
|
|
|
2030
2027
|
}
|
|
2031
2028
|
declare function createErrorByType(type: string, message: string): InvalidCollectionError | InvalidArgumentError | undefined;
|
|
2032
2029
|
|
|
2033
|
-
export { type AddRecordsParams, AdminClient, ChromaClient, ChromaClientError, type ChromaClientParams, ChromaConnectionError, ChromaError, ChromaForbiddenError, ChromaNotFoundError, ChromaServerError, ChromaUnauthorizedError, ChromaUniqueError, ChromaValueError, CloudClient, CohereEmbeddingFunction, Collection, type CollectionMetadata, type CollectionParams, type CreateCollectionParams, DefaultEmbeddingFunction, type DeleteCollectionParams, type DeleteParams, type Document, type Documents, type Embedding, type Embeddings, type GetCollectionParams, type GetOrCreateCollectionParams, type GetParams, type GetResponse, GoogleGenerativeAiEmbeddingFunction, HuggingFaceEmbeddingServerFunction, type ID, type IDs, type IEmbeddingFunction, IncludeEnum, InvalidArgumentError, InvalidCollectionError, JinaEmbeddingFunction, type ListCollectionsParams, type Metadata, type Metadatas, type ModifyCollectionParams, OllamaEmbeddingFunction, OpenAIEmbeddingFunction, type PeekParams, type QueryRecordsParams, type QueryResponse, TransformersEmbeddingFunction, type UpdateRecordsParams, type UpsertRecordsParams, VoyageAIEmbeddingFunction, type Where, type WhereDocument, createErrorByType };
|
|
2030
|
+
export { type AddRecordsParams, AdminClient, ChromaClient, ChromaClientError, type ChromaClientParams, ChromaConnectionError, ChromaError, ChromaForbiddenError, ChromaNotFoundError, ChromaServerError, ChromaUnauthorizedError, ChromaUniqueError, ChromaValueError, CloudClient, CohereEmbeddingFunction, Collection, type CollectionMetadata, type CollectionParams, type CreateCollectionParams, DefaultEmbeddingFunction, type DeleteCollectionParams, type DeleteParams, type Document, type Documents, type Embedding, type Embeddings, type GetCollectionParams, type GetOrCreateCollectionParams, type GetParams, type GetResponse, GoogleGenerativeAiEmbeddingFunction, HuggingFaceEmbeddingServerFunction, type ID, type IDs, type IEmbeddingFunction, IncludeEnum, InvalidArgumentError, InvalidCollectionError, JinaEmbeddingFunction, type ListCollectionsParams, type Metadata, type Metadatas, type ModifyCollectionParams, OllamaEmbeddingFunction, OpenAIEmbeddingFunction, type PeekParams, type QueryRecordsParams, type QueryResponse, TransformersEmbeddingFunction, type UpdateRecordsParams, type UpsertRecordsParams, VoyageAIEmbeddingFunction, type Where, type WhereDocument, createErrorByType, getAvailableSchemas, getSchemaInfo, getSchemaVersion, loadSchema, validateConfigSchema };
|