File size: 742 Bytes
686446c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | import sys
from pathlib import Path
# Add the project root to Python path
project_root = Path(__file__).parent.parent
sys.path.append(str(project_root))
from config.settings import Settings
def main():
"""Print Chroma settings and related paths"""
print("\nChroma Settings:")
print("-" * 50)
settings = Settings.get_chroma_settings()
for key, value in settings.items():
print(f"{key}: {value}")
print("\nRelated Paths:")
print("-" * 50)
print(f"Base Dir: {Settings.BASE_DIR}")
print(f"Embeddings Path: {Settings.get_embeddings_path()}")
print(f"Chroma Path: {Settings.get_chroma_path()}")
print(f"Is HuggingFace: {Settings.is_huggingface()}")
if __name__ == "__main__":
main() |