Vector Store with Chroma in Anvil

Someone else was using langchain and had a problem with chromadb a few months ago :

…might be useful, but I’m not entirely sure. I wrote some throwaway concepts about using ephemeral random tempfile names so that two users would not be using the same DB if you did not want them to.

And yes, it looks like you already figured out that the directories in data files do not exists unless there is a path with a file in it. It uses a column of paths in a table to make the directories, so if no file exists, no directory exists either.

This clone in this post:

Has some server module code that lets you write new files directly to the data files service, if they still have not built that into the anvil server (it was marked TODO: as of a year ago )

1 Like