We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chromadb: v1.8.1 llamaindex: v0.5.11
const chromaVS = new ChromaVectorStore({ collectionName: `user-user_2jqvVWTCmv3WL1WAgL1JfCjbqbl`, chromaClientParams: { path: CHROMA_URL, }, embedModel: openAIEmbeddingFunction, }); const userCollection = await chromaVS.getCollection(); const docs = await userCollection.get(); // const userCollection = await chroma.getCollection({ // name: "user-user_2jqvVWTCmv3WL1WAgL1JfCjbqbl", // embeddingFunction: openAIEmbeddingFunction, // }); await userCollection.delete(); // console.log({ // ...docs, // documents: docs.documents.map((d) => d.substring(0, 100)), // }); try { const r = await userCollection.add({ ids: ["1", "2", "3"], documents: ["hello", "world", "how"], }); console.log(r.error); let dics = await userCollection.get(); console.log(dics); } catch (error) { console.log(error); }
When trying to add documents, it logs out the following error:
Response { [Symbol(realm)]: null, [Symbol(state)]: { aborted: false, rangeRequested: false, timingAllowPassed: true, requestIncludesCredentials: true, type: 'default', status: 500, timingInfo: { startTime: 3489.4367500543594, redirectStartTime: 0, redirectEndTime: 0, postRedirectStartTime: 3489.4367500543594, finalServiceWorkerStartTime: 0, finalNetworkResponseStartTime: 0, finalNetworkRequestStartTime: 0, endTime: 3680.7292079925537, encodedBodySize: 0, decodedBodySize: 0, finalConnectionTimingInfo: null }, cacheState: '', statusText: 'Internal Server Error', headersList: HeadersList { cookies: null, [Symbol(headers map)]: [Map], [Symbol(headers map sorted)]: null }, urlList: [ [URL] ], body: { stream: undefined } }, [Symbol(headers)]: HeadersList { cookies: null, [Symbol(headers map)]: Map(6) { 'content-encoding' => [Object], 'content-type' => [Object], 'date' => [Object], 'server' => [Object], 'x-request-id' => [Object], 'content-length' => [Object] }, [Symbol(headers map sorted)]: null } }
The error itself isn't very useful, so I am not sure what goes wrong?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
chromadb: v1.8.1
llamaindex: v0.5.11
When trying to add documents, it logs out the following error:
The error itself isn't very useful, so I am not sure what goes wrong?
The text was updated successfully, but these errors were encountered: