Spaces:
Sleeping
Sleeping
Initial commit
Browse files- rag/rag_manager.py +1 -0
rag/rag_manager.py
CHANGED
|
@@ -5,6 +5,7 @@ from chromadb.utils.embedding_functions import EmbeddingFunction
|
|
| 5 |
from config import CHROMA_DIR
|
| 6 |
|
| 7 |
CHROMA_DIR.mkdir(parents=True, exist_ok=True)
|
|
|
|
| 8 |
|
| 9 |
_client = PersistentClient(path=str(CHROMA_DIR))
|
| 10 |
_collection = _client.get_or_create_collection(name="game_docs")
|
|
|
|
| 5 |
from config import CHROMA_DIR
|
| 6 |
|
| 7 |
CHROMA_DIR.mkdir(parents=True, exist_ok=True)
|
| 8 |
+
print(f"📂 ChromaDB 경로: {CHROMA_DIR.resolve()}")
|
| 9 |
|
| 10 |
_client = PersistentClient(path=str(CHROMA_DIR))
|
| 11 |
_collection = _client.get_or_create_collection(name="game_docs")
|