questrag-backend / folder_structure.txt
eeshanyaj's picture
Initial deployment to HuggingFace Spaces
690700c
AML-IA-IMP/
β”œβ”€β”€ backend/
β”‚ β”œβ”€β”€ app/
β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”œβ”€β”€ config.py
β”‚ β”‚ β”œβ”€β”€ main.py
β”‚ β”‚ β”œβ”€β”€ api/
β”‚ β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”‚ └── v1/
β”‚ β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”‚ β”œβ”€β”€ chat.py
β”‚ β”‚ β”‚ β”œβ”€β”€ auth.py
β”‚ β”‚ β”‚ └── admin.py
β”‚ β”‚ β”œβ”€β”€ services/
β”‚ β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”‚ └── chat_service.py
β”‚ β”‚ β”œβ”€β”€ ml/
β”‚ β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”‚ β”œβ”€β”€ retriever.py
β”‚ β”‚ β”‚ └── policy_network.py
β”‚ β”‚ β”œβ”€β”€ db/
β”‚ β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”‚ β”œβ”€β”€ mongodb.py
β”‚ β”‚ β”‚ └── repositories/
β”‚ β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”‚ └── conversation_repository.py
β”‚ β”‚ └── core/
β”‚ β”‚ β”œβ”€β”€ __init__.py
β”‚ β”‚ β”œβ”€β”€ security.py
β”‚ β”‚ └── api_key_manager.py
β”‚ β”œβ”€β”€ models/
β”‚ β”‚ └── (your .pth, .pt, .pkl files go here)
β”‚ β”œβ”€β”€ data/
β”‚ β”‚ └── final_knowledge_base.jsonl
β”‚ β”œβ”€β”€ .env
β”‚ β”œβ”€β”€ .env.example
β”‚ β”œβ”€β”€ requirements.txt
β”‚ β”œβ”€β”€ Dockerfile
β”‚ β”œβ”€β”€ .gitignore
β”‚ └── README.md