runtime error
Exit code: 1. Reason: tabase initialized ================================================================================ ๐ BUILDING VECTOR DATABASE (RAG - Real Documents Only) ================================================================================ โ ๏ธ NOTE: Training Q&A pairs are for fine-tuning ONLY! โ ๏ธ Vector DB should contain ONLY actual web content with URLs โ Document file not found: /app/data/rackspace_knowledge.json โ ๏ธ Please run the data integration script first! โ No documents to index! ================================================================================ ๐งช TESTING DATABASE ================================================================================ ๐ Testing search: 'What are Rackspace's cloud adoption and migration services?' ๐ Top 5 results: ๐ Testing search: 'How do I deploy applications on AWS with Rackspace?' ๐ Top 5 results: โ Vector DB rebuilt successfully! ๐ค Loading embedding model: sentence-transformers/all-MiniLM-L6-v2 Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads. Loading weights: 0%| | 0/103 [00:00<?, ?it/s][A Loading weights: 100%|โโโโโโโโโโ| 103/103 [00:00<00:00, 3590.95it/s] [1mBertModel LOAD REPORT[0m from: sentence-transformers/all-MiniLM-L6-v2 Key | Status | | ------------------------+------------+--+- embeddings.position_ids | UNEXPECTED | | [3mNotes: - UNEXPECTED[3m :can be ignored when loading from different task/architecture; not ok if you expect identical arch.[0m โ Enhanced RAG Chatbot with Groq ready! Traceback (most recent call last): File "/app/app.py", line 4, in <module> chatbot = get_chatbot() File "/app/enhanced_rag_chatbot.py", line 890, in get_chatbot _chatbot_instance = EnhancedRAGChatbot() File "/app/enhanced_rag_chatbot.py", line 66, in __init__ query_embedding = self.embedding_model.encode([query])[0] NameError: name 'query' is not defined
Container logs:
Fetching error logs...