Address Copilot code review feedback

Fixes applied:
- Fix NEO4J_PLUGINS JSON syntax in docker-compose.yml
- Fix directory name mismatch in README.md
- Remove unused imports (Any, Optional), add re and os
- Use Tuple from typing instead of lowercase tuple
- Move 're' import to module level (PEP 8)
- Configure Ollama client with OLLAMA_HOST env var for Docker
- Fix Cypher injection: use parameterized query for hops
- Make CONTAINS queries case-insensitive with toLower()
- Add try-finally block to ensure graph.close() on exceptions
This commit is contained in:
BIBIN PRATHAP
2026-01-03 04:50:22 -05:00
parent 380ae4a590
commit a650de1313
3 changed files with 15 additions and 9 deletions

View File

@@ -47,7 +47,7 @@ Traditional vector-based RAG finds similar text chunks, but struggles with:
```bash
# Clone and navigate
cd knowledge_graph_rag_with_citations
cd knowledge_graph_rag_citations
# Install dependencies
pip install -r requirements.txt