mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 20:12:55 +01:00
Format fixes
This commit is contained in:
parent
8c390812ff
commit
34d48d7b4d
5 changed files with 12 additions and 11 deletions
|
|
@ -60,12 +60,14 @@ class VectorStoreComponent:
|
|||
|
||||
case "chroma":
|
||||
try:
|
||||
from private_gpt.components.vector_store.batched_chroma import \
|
||||
BatchedChromaVectorStore
|
||||
import chromadb # type: ignore
|
||||
from chromadb.config import ( # type: ignore
|
||||
Settings as ChromaSettings,
|
||||
)
|
||||
|
||||
from private_gpt.components.vector_store.batched_chroma import (
|
||||
BatchedChromaVectorStore,
|
||||
)
|
||||
except ImportError as e:
|
||||
raise ImportError(
|
||||
"ChromaDB dependencies not found, install with `poetry install --extras chroma`"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue