Currently I have 2 lambda functions one that creates a few chroma collections and adds data to them and the other that queries them. Creation lambda: body.branches.forEach((branch) => { chroma.createCollection({ name: `${body.userId}--${body.path}--${branch}`, }); }); body.projectFiles.forEach(async (projectFile) => { const collection = await chroma.getCollection({ name: `${body.userId}--${body.path}--${projectFile.branch}`, embeddingFunction:...
Originally asked by Ethan on Stack Exchange (stackoverflow) (CC BY-SA 4.0).