ChromaDB: Add connection to a remote server

ChromaDB can be run in a remote context using docker. However, there
is no inbuilt authentication solution yet according to the documentation.

Therefore, this method is only useful if a user want to connect to an
unauthenticated ChromaDB instance. Only use this on a local network
or with mesh solutions such as Tailscale/Zerotier.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri
2023-05-30 12:56:02 -04:00
parent 01f35a1f21
commit 05535f6b94
2 changed files with 28 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ DEFAULT_SD_MODEL = "ckpt/anything-v4.5-vae-swapped"
DEFAULT_EMBEDDING_MODEL = "sentence-transformers/all-mpnet-base-v2"
DEFAULT_REMOTE_SD_HOST = "127.0.0.1"
DEFAULT_REMOTE_SD_PORT = 7860
DEFAULT_CHROMA_PORT = 8000
SILERO_SAMPLES_PATH = "tts_samples"
SILERO_SAMPLE_TEXT = "The quick brown fox jumps over the lazy dog"
# ALL_MODULES = ['caption', 'summarize', 'classify', 'keywords', 'prompt', 'sd']