qdrant-client icon indicating copy to clipboard operation
qdrant-client copied to clipboard

Mounting Local Volume for Langchain Embeddings in Docker Container

Open pseudo-usama opened this issue 8 months ago • 8 comments

I have mounted my Docker container with a local volume, and embeddings are being saved locally. I need to create embeddings directly from the Langchain from_document method and save them to my local machine without using Docker.

Is there a way to mount this local folder with the Docker container so that both the container and my local environment can access and use the same embeddings?

This capability is crucial for my workflow to ensure seamless integration and accessibility of embeddings between local and containerized environments. Any guidance on how to achieve this would be greatly appreciated.

Steps to Reproduce:

Mount Docker container with a local volume. Create embeddings using Langchain from_document method and save locally without Docker. Attempt to access the same local folder within the Docker container.

Expected Behavior:

The Docker container should be able to access and utilize embeddings created and saved locally.

Actual Behavior:

Currently, there is no clear method to achieve this setup. Environment:

Additional Context:

Any detailed steps or configuration examples to set up the volume mounting correctly would be very helpful.

pseudo-usama avatar Jun 07 '24 20:06 pseudo-usama