This project provides a basic retrieval-augmented AI assistant. Download from git,install NumPy if needed, and run python main.py. It loads documents from the knowledge_base directory, uses TF-IDF for retrieval, and mocks the generation step. To enhance it:
Add your own text files to the knowledge base.
Integrate an LLM for real generation (e.g., via xAI API at https://x.ai/api – you'll need to handle authentication).
You can expand this by adding more documents, integrating a real LLM for generation, or using advanced embeddings (e.g., via pre-trained models if available in your environment). If you need modifications or a different example query