docrag/rag
Z User c03bde8023 Fix tool call parsing, improve embeddings, and fix async issues
- main.py: Rewrote _parse_tool_call with brace-counting for robust JSON extraction
- main.py: Improved _clean_tool_syntax with brace-aware removal of tool_call JSON
- main.py: Fixed dict key mismatches (chunks_ingested, pages_downloaded)
- main.py: Run tool execution in asyncio.to_thread to avoid blocking event loop
- main.py: Always clean tool syntax from responses (handles edge cases)
- rag/__init__.py: Wrap blocking website_downloader in run_in_executor
- rag/__init__.py: Replace deprecated datetime.utcnow() with datetime.now(timezone.utc)
- rag/__init__.py: Add add_document_from_url method
- rag/vector_store.py: Replace hash-based embeddings with TF-IDF inspired embeddings
- rag/vector_store.py: Add embedding dimension mismatch handling in search
- README.md: Update API key config documentation
2026-03-29 17:49:32 +00:00
..
__init__.py Fix tool call parsing, improve embeddings, and fix async issues 2026-03-29 17:49:32 +00:00
document_processor.py Implement tool calling loop for LLM 2026-03-29 16:07:56 +00:00
retriever.py Implement tool calling loop for LLM 2026-03-29 16:07:56 +00:00
vector_store.py Fix tool call parsing, improve embeddings, and fix async issues 2026-03-29 17:49:32 +00:00