Skip to content
Snippets Groups Projects
Unverified Commit 8744796c authored by Marcus Schiesser's avatar Marcus Schiesser Committed by GitHub
Browse files

update the versioon of chromadb client (#1616)


Co-authored-by: default avatarmy8bit <mail@my8bit.name>
parent f02621e3
No related branches found
No related tags found
No related merge requests found
---
"@llamaindex/chroma": patch
"@llamaindex/examples": patch
---
Update the chromadb npm client to support the latest chromadb image (0.6.3)
......@@ -8,7 +8,7 @@ import {
const collectionName = "movie_reviews";
async function main() {
const sourceFile: string = "./data/movie_reviews.csv";
const sourceFile: string = "../data/movie_reviews.csv";
try {
console.log(`Loading data from ${sourceFile}`);
......
......@@ -43,7 +43,7 @@
"dependencies": {
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*",
"chromadb": "1.9.2",
"chromadb": "1.10.3",
"chromadb-default-embed": "^2.13.2"
}
}
......@@ -210,7 +210,6 @@ export class ChromaVectorStore extends BaseVectorStore {
QueryRecordsParams
>{
queryEmbeddings: query.queryEmbedding ?? undefined,
queryTexts: query.queryStr ?? undefined,
nResults: query.similarityTopK,
where: Object.keys(chromaWhere).length ? chromaWhere : undefined,
whereDocument: options?.whereDocument,
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment