Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chromadb

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromadb - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

dist/main/embeddings/WebAIEmbeddingFunction.d.ts

3

dist/main/ChromaClient.js

@@ -180,2 +180,5 @@ "use strict";

.catch(utils_1.handleError);
if (response.error) {
throw new Error(response.error);
}
return new Collection_1.Collection(response.name, response.id, this.api, response.metadata, embeddingFunction);

@@ -182,0 +185,0 @@ }

4

dist/main/types.d.ts

@@ -49,6 +49,6 @@ export declare enum IncludeEnum {

ids: IDs[];
embeddings: null | Embeddings[][];
embeddings: null | Embeddings[];
documents: (null | Document)[][];
metadatas: (null | Metadata)[][];
distances: null | number[][][];
distances: null | number[][];
};

@@ -55,0 +55,0 @@ export type AddResponse = {

@@ -177,2 +177,5 @@ import { Configuration, ApiApi as DefaultApi } from "./generated";

.catch(handleError);
if (response.error) {
throw new Error(response.error);
}
return new Collection(response.name, response.id, this.api, response.metadata, embeddingFunction);

@@ -179,0 +182,0 @@ }

@@ -49,6 +49,6 @@ export declare enum IncludeEnum {

ids: IDs[];
embeddings: null | Embeddings[][];
embeddings: null | Embeddings[];
documents: (null | Document)[][];
metadatas: (null | Metadata)[][];
distances: null | number[][][];
distances: null | number[][];
};

@@ -55,0 +55,0 @@ export type AddResponse = {

{
"name": "chromadb",
"version": "1.5.1",
"version": "1.5.2",
"description": "A JavaScript interface for chroma",

@@ -40,4 +40,5 @@ "keywords": [],

"genapi": "./genapi.sh",
"prettier": "prettier --write ."
"prettier": "prettier --write .",
"release": "run-s build test:run && npm publish"
}
}

@@ -226,2 +226,6 @@ import { IEmbeddingFunction } from './embeddings/IEmbeddingFunction';

if (response.error) {
throw new Error(response.error);
}
return new Collection(

@@ -261,2 +265,2 @@ response.name,

}
}

@@ -64,6 +64,6 @@ export enum IncludeEnum {

ids: IDs[];
embeddings: null | Embeddings[][];
embeddings: null | Embeddings[];
documents: (null | Document)[][];
metadatas: (null | Metadata)[][];
distances: null | number[][][];
distances: null | number[][];
}

@@ -70,0 +70,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc