A curated collection of practical AI projects implementing OCR systems, RAG, AI agents, and other AI use cases.
fix(rag_agent_with_database_routing): remove unresolved merge conflict markers
Rudy Celekli526bcf130e80
diff --git a/rag_apps/rag_agent_with_database_routing/rag_agent/pipeline.py b/rag_apps/rag_agent_with_database_routing/rag_agent/pipeline.pyindex 1726521..cf34993 100644--- a/rag_apps/rag_agent_with_database_routing/rag_agent/pipeline.py+++ b/rag_apps/rag_agent_with_database_routing/rag_agent/pipeline.py@@ -27,11 +27,8 @@ RAG_SYSTEM = (@dataclassclass PipelineResult:-<<<<<<< HEAD-======="""The final answer plus routing and retrieval metadata for a single query."""->>>>>>> 1d1e9f137cfd1123edbae5d8e955ce0b9c7fcf4aanswer: strrouting: RoutingDecisiondocs: list[RetrievedDoc] = field(default_factory=list)diff --git a/rag_apps/rag_agent_with_database_routing/rag_agent/retriever.py b/rag_apps/rag_agent_with_database_routing/rag_agent/retriever.pyindex 29026b4..c40ac4e 100644--- a/rag_apps/rag_agent_with_database_routing/rag_agent/retriever.py+++ b/rag_apps/rag_agent_with_database_routing/rag_agent/retriever.py@@ -18,11 +18,8 @@ from .embeddings import OrqEmbeddings@dataclassclass RetrievedDoc:-<<<<<<< HEAD-======="""A single document retrieved from a Qdrant collection, with its similarity score."""->>>>>>> 1d1e9f137cfd1123edbae5d8e955ce0b9c7fcf4atext: strscore: floatsource: strdiff --git a/rag_apps/rag_agent_with_database_routing/rag_agent/router.py b/rag_apps/rag_agent_with_database_routing/rag_agent/router.pyindex e7de93e..5192e4a 100644--- a/rag_apps/rag_agent_with_database_routing/rag_agent/router.py+++ b/rag_apps/rag_agent_with_database_routing/rag_agent/router.py@@ -34,11 +34,8 @@ _KEYWORDS: dict[str, list[str]] = {class RoutingDecision(BaseModel):-<<<<<<< HEAD-======="""Holds which database a query was routed to and why."""->>>>>>> 1d1e9f137cfd1123edbae5d8e955ce0b9c7fcf4adatabase: Literal["products", "support", "financial"]reasoning: str