Spaces:
Configuration error
Configuration error
Download temp.py from Yashodeep2006/RAGforge: direct link, hf CLI and curl.
- Browser
- Download file 252 Bytes
-
https://huggingface.co/spaces/Yashodeep2006/RAGforge/resolve/main/temp.py
- Command line
-
hf download hf://spaces/Yashodeep2006/RAGforge/temp.py
-
curl -L -o temp.py https://huggingface.co/spaces/Yashodeep2006/RAGforge/resolve/main/temp.py
252 Bytes
| from rag.engine import RAGEngine | |
| engine = RAGEngine() | |
| print("\nAIForge RAG Ready!\n") | |
| while True: | |
| q = input("You : ") | |
| if q == "0": | |
| break | |
| answer = engine.chat(q) | |
| print() | |
| print(answer) | |
| print() | |