[2026-04-08 08:58:06,551] [INFO] app.main [127868:MainThread] Included api_router at /api [2026-04-08 08:58:06,552] [INFO] app.main [127868:MainThread] Starting up Bhasika API [2026-04-08 08:58:06,553] [INFO] app.core.rag.graph [127868:MainThread] Connection pool initialized successfully [2026-04-08 08:58:06,597] [INFO] app.core.rag.graph [127868:MainThread] Checkpointer setup completed [2026-04-08 08:58:06,615] [INFO] app.core.rag.graph [127868:MainThread] RAG application compiled successfully [2026-04-08 12:56:32,423] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-08 12:56:32,434] [INFO] sentence_transformers.SentenceTransformer [127868:MainThread] Load pretrained SentenceTransformer: BAAI/bge-base-en-v1.5 [2026-04-08 12:56:33,507] [INFO] app.embeddings.embedder [127868:MainThread] Loading embedding model 'BAAI/bge-base-en-v1.5' from SentenceTransformers on cpu. [2026-04-08 12:56:33,600] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.31681626887466896 [2026-04-08 12:56:33,600] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 1.17s [2026-04-08 12:56:33,602] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-08 12:56:34,115] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: False [2026-04-08 12:56:34,115] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.51s [2026-04-08 12:56:34,117] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-08 12:56:34,488] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-08 12:56:34,488] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-08 12:56:34,661] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-08 12:56:34,662] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-08 12:56:34,664] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-08 12:56:34,664] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-08 12:56:34,664] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 18 unique documents across all concurrent searches. [2026-04-08 12:56:34,665] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.55s [2026-04-08 12:56:38,413] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-08 12:56:38,413] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 3.74s [2026-04-08 12:56:38,447] [ERROR] asyncio [127868:MainThread] Unclosed client session client_session: [2026-04-08 12:56:38,480] [ERROR] asyncio [127868:MainThread] Unclosed client session client_session: [2026-04-08 12:56:38,510] [ERROR] asyncio [127868:MainThread] Unclosed client session client_session: [2026-04-08 12:56:38,540] [ERROR] asyncio [127868:MainThread] Unclosed client session client_session: [2026-04-08 12:56:38,541] [INFO] app.core.rag.llm_factory [127868:MainThread] No of fireworks llm instances: 2 [2026-04-08 12:56:38,541] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-08 12:56:38,541] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-08 12:56:44,253] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (1039 chars). [2026-04-08 12:56:44,254] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 5.84s [2026-04-08 12:56:44,268] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1826_conversation... [2026-04-08 12:56:44,584] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1826_conversation: ["User wants to pursue a Master's degree in Germany"] [2026-04-08 14:50:04,153] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-08 14:50:04,225] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.5367656074026581 [2026-04-08 14:50:04,225] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.06s [2026-04-08 14:50:04,226] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-08 14:50:04,263] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-08 14:50:04,348] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.5226744582659992 [2026-04-08 14:50:04,348] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.04s [2026-04-08 14:50:04,350] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-08 14:50:04,721] [WARNING] app.core.rag.nodes.orchestrator [127868:MainThread] LLM graded context as insufficient but failed to provide a search_strategy! Applying fallback. [2026-04-08 14:50:04,722] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: greeting, Sufficient: False [2026-04-08 14:50:04,722] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.50s [2026-04-08 14:50:04,724] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-08 14:50:04,752] [WARNING] app.core.rag.nodes.orchestrator [127868:MainThread] LLM graded context as insufficient but failed to provide a search_strategy! Applying fallback. [2026-04-08 14:50:04,752] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: greeting, Sufficient: False [2026-04-08 14:50:04,752] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.40s [2026-04-08 14:50:04,754] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-08 14:50:09,150] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (167 chars). [2026-04-08 14:50:09,150] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 4.40s [2026-04-08 14:50:09,164] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1827_conversation... [2026-04-08 14:50:09,182] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (251 chars). [2026-04-08 14:50:09,183] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 4.46s [2026-04-08 14:50:09,196] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1709_conversation... [2026-04-08 14:50:09,366] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1827_conversation: [] [2026-04-08 14:50:09,714] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1709_conversation: ['User completed BCA from TU with GPA 3.45', 'User has IELTS overall 7', 'User has no German language skills', 'User wants to find Nepali communities in Germany'] [2026-04-08 14:50:20,239] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-08 14:50:20,325] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.5901960486290476 [2026-04-08 14:50:20,325] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.08s [2026-04-08 14:50:20,326] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-08 14:50:20,637] [WARNING] app.core.rag.nodes.orchestrator [127868:MainThread] LLM graded context as insufficient but failed to provide a search_strategy! Applying fallback. [2026-04-08 14:50:20,637] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: greeting, Sufficient: False [2026-04-08 14:50:20,638] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.31s [2026-04-08 14:50:20,639] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-08 14:50:23,822] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (176 chars). [2026-04-08 14:50:23,823] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 3.18s [2026-04-08 14:50:23,832] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1827_conversation... [2026-04-08 14:50:24,112] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1827_conversation: ['User name is Manish Timsina'] [2026-04-08 14:51:05,782] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-08 14:51:05,876] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.3955916346433247 [2026-04-08 14:51:05,876] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.09s [2026-04-08 14:51:05,877] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-08 14:51:06,486] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: False [2026-04-08 14:51:06,486] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.61s [2026-04-08 14:51:06,488] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-08 14:51:07,006] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-08 14:51:07,007] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-08 14:51:07,008] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-08 14:51:07,008] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-08 14:51:07,009] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-08 14:51:07,009] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-08 14:51:07,010] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 23 unique documents across all concurrent searches. [2026-04-08 14:51:07,010] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.52s [2026-04-08 14:51:11,198] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-08 14:51:11,198] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 4.19s [2026-04-08 14:51:11,199] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-08 14:51:11,199] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-08 14:51:21,928] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (1651 chars). [2026-04-08 14:51:21,931] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 10.73s [2026-04-08 14:51:21,943] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1827_conversation... [2026-04-08 14:51:22,253] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1827_conversation: ['User name is Manish Timsina', "User has a Bachelor's degree in Computer Engineering", 'User wants to study in a public university in Germany'] [2026-04-08 20:41:07,374] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-08 20:41:07,471] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.4509322701773283 [2026-04-08 20:41:07,471] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.08s [2026-04-08 20:41:07,474] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-08 20:41:07,775] [WARNING] app.core.rag.nodes.orchestrator [127868:MainThread] LLM graded context as insufficient but failed to provide a search_strategy! Applying fallback. [2026-04-08 20:41:07,776] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: greeting, Sufficient: False [2026-04-08 20:41:07,776] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.30s [2026-04-08 20:41:07,777] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-08 20:41:11,144] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (88 chars). [2026-04-08 20:41:11,144] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 3.37s [2026-04-08 20:41:11,158] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1828_conversation... [2026-04-08 20:41:11,352] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1828_conversation: [] [2026-04-08 20:41:25,847] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-08 20:41:25,954] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.4429510665819364 [2026-04-08 20:41:25,954] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.10s [2026-04-08 20:41:25,955] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-08 20:41:26,339] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: False [2026-04-08 20:41:26,339] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.38s [2026-04-08 20:41:26,340] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-08 20:41:26,796] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-08 20:41:26,796] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 0 [2026-04-08 20:41:26,797] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-08 20:41:26,797] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 0 [2026-04-08 20:41:26,798] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-08 20:41:26,798] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 0 [2026-04-08 20:41:26,798] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 8 unique documents across all concurrent searches. [2026-04-08 20:41:26,798] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.46s [2026-04-08 20:41:27,680] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-08 20:41:27,681] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 0.88s [2026-04-08 20:41:27,682] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-08 20:41:27,682] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-08 20:41:32,691] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (774 chars). [2026-04-08 20:41:32,692] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 5.01s [2026-04-08 20:41:32,708] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1828_conversation... [2026-04-08 20:41:32,919] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1828_conversation: ['User wants to study in the USA'] [2026-04-09 09:26:54,517] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 09:26:54,519] [WARNING] psycopg.pool [127868:MainThread] discarding closed connection: [2026-04-09 09:26:54,521] [ERROR] app.api.chat [127868:MainThread] Graph execution failed Traceback (most recent call last): File "/home/azureuser/projects/bhasika-chatbot/app/api/chat.py", line 54, in chat result_state = await rag_app.ainvoke(inputs, config=config) or {} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/main.py", line 3158, in ainvoke async for chunk in self.astream( ...<29 lines>... chunks.append(chunk) File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/main.py", line 2888, in astream async with AsyncPregelLoop( ~~~~~~~~~~~~~~~^ input, ^^^^^^ ...<17 lines>... cache_policy=self.cache_policy, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) as loop: ^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/_loop.py", line 1264, in __aenter__ saved = await self.checkpointer.aget_tuple(self.checkpoint_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/checkpoint/postgres/aio.py", line 198, in aget_tuple await cur.execute( ...<3 lines>... ) File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/psycopg/cursor_async.py", line 117, in execute raise ex.with_traceback(None) psycopg.errors.AdminShutdown: terminating connection due to administrator command [2026-04-09 09:29:24,526] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 09:29:24,527] [WARNING] psycopg.pool [127868:MainThread] discarding closed connection: [2026-04-09 09:29:24,528] [ERROR] app.api.chat [127868:MainThread] Graph execution failed Traceback (most recent call last): File "/home/azureuser/projects/bhasika-chatbot/app/api/chat.py", line 54, in chat result_state = await rag_app.ainvoke(inputs, config=config) or {} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/main.py", line 3158, in ainvoke async for chunk in self.astream( ...<29 lines>... chunks.append(chunk) File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/main.py", line 2888, in astream async with AsyncPregelLoop( ~~~~~~~~~~~~~~~^ input, ^^^^^^ ...<17 lines>... cache_policy=self.cache_policy, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) as loop: ^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/_loop.py", line 1264, in __aenter__ saved = await self.checkpointer.aget_tuple(self.checkpoint_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/checkpoint/postgres/aio.py", line 198, in aget_tuple await cur.execute( ...<3 lines>... ) File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/psycopg/cursor_async.py", line 117, in execute raise ex.with_traceback(None) psycopg.errors.AdminShutdown: terminating connection due to administrator command [2026-04-09 09:36:49,837] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 09:36:49,838] [WARNING] psycopg.pool [127868:MainThread] discarding closed connection: [2026-04-09 09:36:49,838] [ERROR] app.api.chat [127868:MainThread] Graph execution failed Traceback (most recent call last): File "/home/azureuser/projects/bhasika-chatbot/app/api/chat.py", line 54, in chat result_state = await rag_app.ainvoke(inputs, config=config) or {} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/main.py", line 3158, in ainvoke async for chunk in self.astream( ...<29 lines>... chunks.append(chunk) File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/main.py", line 2888, in astream async with AsyncPregelLoop( ~~~~~~~~~~~~~~~^ input, ^^^^^^ ...<17 lines>... cache_policy=self.cache_policy, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) as loop: ^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/_loop.py", line 1264, in __aenter__ saved = await self.checkpointer.aget_tuple(self.checkpoint_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/checkpoint/postgres/aio.py", line 198, in aget_tuple await cur.execute( ...<3 lines>... ) File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/psycopg/cursor_async.py", line 117, in execute raise ex.with_traceback(None) psycopg.errors.AdminShutdown: terminating connection due to administrator command [2026-04-09 09:41:01,403] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 09:41:01,404] [WARNING] psycopg.pool [127868:MainThread] discarding closed connection: [2026-04-09 09:41:01,405] [ERROR] app.api.chat [127868:MainThread] Graph execution failed Traceback (most recent call last): File "/home/azureuser/projects/bhasika-chatbot/app/api/chat.py", line 54, in chat result_state = await rag_app.ainvoke(inputs, config=config) or {} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/main.py", line 3158, in ainvoke async for chunk in self.astream( ...<29 lines>... chunks.append(chunk) File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/main.py", line 2888, in astream async with AsyncPregelLoop( ~~~~~~~~~~~~~~~^ input, ^^^^^^ ...<17 lines>... cache_policy=self.cache_policy, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) as loop: ^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/_loop.py", line 1264, in __aenter__ saved = await self.checkpointer.aget_tuple(self.checkpoint_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/checkpoint/postgres/aio.py", line 198, in aget_tuple await cur.execute( ...<3 lines>... ) File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/psycopg/cursor_async.py", line 117, in execute raise ex.with_traceback(None) psycopg.errors.AdminShutdown: terminating connection due to administrator command [2026-04-09 09:42:08,873] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 09:42:08,875] [WARNING] psycopg.pool [127868:MainThread] discarding closed connection: [2026-04-09 09:42:08,875] [ERROR] app.api.chat [127868:MainThread] Graph execution failed Traceback (most recent call last): File "/home/azureuser/projects/bhasika-chatbot/app/api/chat.py", line 54, in chat result_state = await rag_app.ainvoke(inputs, config=config) or {} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/main.py", line 3158, in ainvoke async for chunk in self.astream( ...<29 lines>... chunks.append(chunk) File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/main.py", line 2888, in astream async with AsyncPregelLoop( ~~~~~~~~~~~~~~~^ input, ^^^^^^ ...<17 lines>... cache_policy=self.cache_policy, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) as loop: ^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/pregel/_loop.py", line 1264, in __aenter__ saved = await self.checkpointer.aget_tuple(self.checkpoint_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/langgraph/checkpoint/postgres/aio.py", line 198, in aget_tuple await cur.execute( ...<3 lines>... ) File "/home/azureuser/projects/bhasika-chatbot/.venv/lib/python3.13/site-packages/psycopg/cursor_async.py", line 117, in execute raise ex.with_traceback(None) psycopg.errors.AdminShutdown: terminating connection due to administrator command [2026-04-09 09:43:11,719] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 09:43:11,788] [ERROR] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ retrieval failed: (psycopg.errors.AdminShutdown) terminating connection due to administrator command [SQL: SELECT "id", "content", "embedding", "country", "degree_level", "source_id", "created_at", "metadata", cosine_distance("embedding", %(query_embedding)s) as distance FROM "public"."qna" ORDER BY "embedding" <=> %(query_embedding)s LIMIT %(dense_limit)s; ] [parameters: {'query_embedding': '[0.000779235502704978, 0.042613714933395386, 0.020304284989833832, -0.007037814240902662, 0.00020630843937397003, 0.02017093077301979, -0.00021337100 ... (16706 characters truncated) ... 4562251642346382, -0.01356508955359459, -0.02740168385207653, -0.05200742930173874, 0.016100244596600533, 0.05936604365706444, -0.004403504077345133]', 'dense_limit': 1}] (Background on this error at: https://sqlalche.me/e/20/e3q8) [2026-04-09 09:43:11,789] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.04s [2026-04-09 09:43:11,791] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 09:43:12,077] [WARNING] app.core.rag.nodes.orchestrator [127868:MainThread] LLM graded context as insufficient but failed to provide a search_strategy! Applying fallback. [2026-04-09 09:43:12,077] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: greeting, Sufficient: False [2026-04-09 09:43:12,077] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.29s [2026-04-09 09:43:12,079] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 09:43:15,854] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (77 chars). [2026-04-09 09:43:15,854] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 3.78s [2026-04-09 09:43:15,864] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 09:43:16,058] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: [] [2026-04-09 09:43:26,558] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 09:43:26,616] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.5226744582659992 [2026-04-09 09:43:26,616] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.05s [2026-04-09 09:43:26,617] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 09:43:26,805] [WARNING] app.core.rag.nodes.orchestrator [127868:MainThread] LLM graded context as insufficient but failed to provide a search_strategy! Applying fallback. [2026-04-09 09:43:26,805] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: greeting, Sufficient: False [2026-04-09 09:43:26,805] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.19s [2026-04-09 09:43:26,807] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 09:43:34,025] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (85 chars). [2026-04-09 09:43:34,026] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 7.22s [2026-04-09 09:43:34,036] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 09:43:34,245] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: [] [2026-04-09 09:44:11,631] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 09:44:11,727] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.3488340169886236 [2026-04-09 09:44:11,727] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.09s [2026-04-09 09:44:11,728] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 09:44:12,394] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: False [2026-04-09 09:44:12,394] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.67s [2026-04-09 09:44:12,396] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 09:44:12,914] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 09:44:12,915] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 09:44:12,915] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 09:44:12,915] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 09:44:12,917] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 09:44:12,917] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 09:44:12,917] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 12 unique documents across all concurrent searches. [2026-04-09 09:44:12,917] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.52s [2026-04-09 09:44:15,276] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 09:44:15,276] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 2.36s [2026-04-09 09:44:15,278] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 09:44:15,278] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 09:44:24,390] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (966 chars). [2026-04-09 09:44:24,391] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 9.11s [2026-04-09 09:44:24,403] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 09:44:24,630] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', "User wants to pursue a master's degree in Germany"] [2026-04-09 09:45:15,947] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 09:45:16,027] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.3826400637626648 [2026-04-09 09:45:16,028] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.08s [2026-04-09 09:45:16,029] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 09:45:16,695] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: refinement, Sufficient: False [2026-04-09 09:45:16,695] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.67s [2026-04-09 09:45:16,696] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 09:45:17,148] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 09:45:17,148] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 09:45:17,150] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 09:45:17,150] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 09:45:17,150] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 09:45:17,150] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 09:45:17,151] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 17 unique documents across all concurrent searches. [2026-04-09 09:45:17,151] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.45s [2026-04-09 09:45:19,749] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 09:45:19,749] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 2.60s [2026-04-09 09:45:19,751] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 09:45:19,751] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 09:45:27,002] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (673 chars). [2026-04-09 09:45:27,002] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 7.25s [2026-04-09 09:45:27,015] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 09:45:27,311] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany'] [2026-04-09 09:46:12,980] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 09:46:13,070] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.42212480306625366 [2026-04-09 09:46:13,070] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.09s [2026-04-09 09:46:13,071] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 09:46:13,647] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: refinement, Sufficient: False [2026-04-09 09:46:13,647] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.58s [2026-04-09 09:46:13,648] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 09:46:14,193] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 09:46:14,194] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 09:46:14,195] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 09:46:14,195] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 09:46:14,196] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 09:46:14,196] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 09:46:14,196] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 16 unique documents across all concurrent searches. [2026-04-09 09:46:14,196] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.55s [2026-04-09 09:46:16,876] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 09:46:16,876] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 2.68s [2026-04-09 09:46:16,878] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 09:46:16,878] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 09:46:21,222] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (507 chars). [2026-04-09 09:46:21,223] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 4.34s [2026-04-09 09:46:21,232] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 09:46:21,561] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany'] [2026-04-09 09:47:47,447] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 09:47:47,536] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.4286187546621919 [2026-04-09 09:47:47,537] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.09s [2026-04-09 09:47:47,538] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 09:47:47,993] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: refinement, Sufficient: False [2026-04-09 09:47:47,993] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.46s [2026-04-09 09:47:47,994] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 09:47:48,459] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 09:47:48,459] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 09:47:48,460] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 09:47:48,460] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 09:47:48,461] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 09:47:48,461] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 09:47:48,462] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 15 unique documents across all concurrent searches. [2026-04-09 09:47:48,462] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.47s [2026-04-09 09:47:51,680] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 09:47:51,680] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 3.22s [2026-04-09 09:47:51,682] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 09:47:51,682] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 09:47:59,274] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (465 chars). [2026-04-09 09:47:59,274] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 7.59s [2026-04-09 09:47:59,284] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 09:47:59,589] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', 'User is a banking and finance major', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany'] [2026-04-09 10:50:46,245] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 10:50:46,339] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.5607902443879981 [2026-04-09 10:50:46,339] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.09s [2026-04-09 10:50:46,340] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 10:50:46,976] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: False [2026-04-09 10:50:46,976] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.64s [2026-04-09 10:50:46,977] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 10:50:47,446] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 10:50:47,446] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 10:50:47,448] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 10:50:47,448] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 10:50:47,449] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 10:50:47,450] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 10:50:47,450] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 17 unique documents across all concurrent searches. [2026-04-09 10:50:47,450] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.47s [2026-04-09 10:50:51,050] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 10:50:51,050] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 3.60s [2026-04-09 10:50:51,051] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 10:50:51,052] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 10:50:56,585] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (709 chars). [2026-04-09 10:50:56,585] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 5.53s [2026-04-09 10:50:56,598] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 10:50:56,849] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', 'User is a banking and finance major', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany'] [2026-04-09 10:51:54,749] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 10:51:54,854] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.35112655321895037 [2026-04-09 10:51:54,854] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.10s [2026-04-09 10:51:54,855] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 10:51:56,973] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: False [2026-04-09 10:51:56,973] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 2.12s [2026-04-09 10:51:56,974] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 10:51:57,480] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 10:51:57,481] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 10:51:57,482] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 10:51:57,482] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 10:51:57,483] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 10:51:57,483] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 10:51:57,483] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 19 unique documents across all concurrent searches. [2026-04-09 10:51:57,483] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.51s [2026-04-09 10:52:00,373] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 10:52:00,374] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 2.89s [2026-04-09 10:52:00,375] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 10:52:00,375] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 10:52:04,834] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (646 chars). [2026-04-09 10:52:04,835] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 4.46s [2026-04-09 10:52:04,849] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 10:52:05,361] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', 'User is a banking and finance major', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany'] [2026-04-09 10:54:36,363] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 10:54:36,402] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.529810905456543 [2026-04-09 10:54:36,402] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.03s [2026-04-09 10:54:36,403] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 10:54:36,593] [WARNING] app.core.rag.nodes.orchestrator [127868:MainThread] LLM graded context as insufficient but failed to provide a search_strategy! Applying fallback. [2026-04-09 10:54:36,593] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: greeting, Sufficient: False [2026-04-09 10:54:36,593] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.19s [2026-04-09 10:54:36,594] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 10:54:40,570] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (119 chars). [2026-04-09 10:54:40,570] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 3.98s [2026-04-09 10:54:40,580] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1832_conversation... [2026-04-09 10:54:40,735] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1832_conversation: [] [2026-04-09 10:57:59,430] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 10:57:59,481] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.529810905456543 [2026-04-09 10:57:59,482] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.04s [2026-04-09 10:57:59,482] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 10:57:59,844] [WARNING] app.core.rag.nodes.orchestrator [127868:MainThread] LLM graded context as insufficient but failed to provide a search_strategy! Applying fallback. [2026-04-09 10:57:59,844] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: greeting, Sufficient: False [2026-04-09 10:57:59,844] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.36s [2026-04-09 10:57:59,845] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 10:58:04,639] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (216 chars). [2026-04-09 10:58:04,639] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 4.79s [2026-04-09 10:58:04,653] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 49_conversation... [2026-04-09 10:58:04,951] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 49_conversation: ["User wants tuition-free Master's abroad", 'User wants English-taught programs', 'User has no German language certificate', 'User has not provided IELTS/TOEFL score', 'User is interested in cities with large Nepalese communities'] [2026-04-09 10:58:56,941] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 10:58:56,979] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.529810905456543 [2026-04-09 10:58:56,979] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.04s [2026-04-09 10:58:56,980] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 10:58:57,154] [WARNING] app.core.rag.nodes.orchestrator [127868:MainThread] LLM graded context as insufficient but failed to provide a search_strategy! Applying fallback. [2026-04-09 10:58:57,154] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: greeting, Sufficient: False [2026-04-09 10:58:57,154] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.17s [2026-04-09 10:58:57,155] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 10:59:00,827] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (96 chars). [2026-04-09 10:59:00,828] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 3.67s [2026-04-09 10:59:00,838] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1833_conversation... [2026-04-09 10:59:01,058] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1833_conversation: [] [2026-04-09 10:59:09,054] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 10:59:09,113] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.32045769691467285 [2026-04-09 10:59:09,114] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.06s [2026-04-09 10:59:09,115] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 10:59:09,461] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: False [2026-04-09 10:59:09,461] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.35s [2026-04-09 10:59:09,463] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 10:59:09,799] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 10:59:09,800] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 10:59:09,800] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 10:59:09,800] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 10:59:09,801] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 10:59:09,801] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 10:59:09,802] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 21 unique documents across all concurrent searches. [2026-04-09 10:59:09,802] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.34s [2026-04-09 10:59:13,035] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 10:59:13,035] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 3.23s [2026-04-09 10:59:13,036] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 10:59:13,037] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 10:59:25,863] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (769 chars). [2026-04-09 10:59:25,863] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 12.83s [2026-04-09 10:59:25,873] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1833_conversation... [2026-04-09 10:59:26,085] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1833_conversation: ['User wants to study in Germany'] [2026-04-09 10:59:46,815] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 10:59:46,877] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.48828117374795266 [2026-04-09 10:59:46,877] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.06s [2026-04-09 10:59:46,878] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 10:59:47,484] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: False [2026-04-09 10:59:47,484] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.61s [2026-04-09 10:59:47,485] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 10:59:47,914] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 10:59:47,914] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 10:59:47,916] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 10:59:47,916] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 10:59:47,917] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 10:59:47,917] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 10:59:47,918] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 19 unique documents across all concurrent searches. [2026-04-09 10:59:47,918] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.43s [2026-04-09 10:59:51,198] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 10:59:51,198] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 3.28s [2026-04-09 10:59:51,200] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 10:59:51,200] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 11:00:00,062] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (585 chars). [2026-04-09 11:00:00,063] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 8.86s [2026-04-09 11:00:00,115] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1833_conversation... [2026-04-09 11:00:00,359] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1833_conversation: ['User wants to study in Germany', "User wants to pursue a Master's in Information Technology"] [2026-04-09 14:17:33,568] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 14:17:33,660] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.4075894841658454 [2026-04-09 14:17:33,660] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.09s [2026-04-09 14:17:33,661] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 14:17:34,171] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: False [2026-04-09 14:17:34,171] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.51s [2026-04-09 14:17:34,173] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 14:17:34,594] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 14:17:34,594] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 14:17:34,595] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 14:17:34,595] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 14:17:34,596] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 14:17:34,596] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 14:17:34,596] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 15 unique documents across all concurrent searches. [2026-04-09 14:17:34,597] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.42s [2026-04-09 14:17:37,434] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 14:17:37,434] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 2.84s [2026-04-09 14:17:37,435] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 14:17:37,435] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 14:17:44,464] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (716 chars). [2026-04-09 14:17:44,464] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 7.03s [2026-04-09 14:17:44,479] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1834_conversation... [2026-04-09 14:17:44,677] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1834_conversation: ["User wants to study business-related master's in Germany"] [2026-04-09 15:27:44,295] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 15:27:44,381] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.39087684263266576 [2026-04-09 15:27:44,381] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.08s [2026-04-09 15:27:44,386] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 15:27:44,881] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: True [2026-04-09 15:27:44,881] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.50s [2026-04-09 15:27:44,882] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 15:27:44,883] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 15:27:50,612] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (1047 chars). [2026-04-09 15:27:50,616] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 5.73s [2026-04-09 15:27:50,631] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 15:27:50,974] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', 'User is a banking and finance major', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany'] [2026-04-09 15:31:41,329] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 15:31:41,421] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.37976961497611617 [2026-04-09 15:31:41,421] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.09s [2026-04-09 15:31:41,422] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 15:31:43,079] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: True [2026-04-09 15:31:43,079] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 1.66s [2026-04-09 15:31:43,080] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 15:31:43,081] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 15:31:49,212] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (324 chars). [2026-04-09 15:31:49,212] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 6.13s [2026-04-09 15:31:49,230] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 15:31:49,521] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', 'User is a banking and finance major', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany'] [2026-04-09 15:33:30,086] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 15:33:30,181] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.46089913067522037 [2026-04-09 15:33:30,182] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.09s [2026-04-09 15:33:30,183] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 15:33:30,680] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: False [2026-04-09 15:33:30,680] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.50s [2026-04-09 15:33:30,684] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 15:33:31,211] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 15:33:31,211] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 15:33:31,214] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 15:33:31,214] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 15:33:31,214] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 15:33:31,214] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 15:33:31,214] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 14 unique documents across all concurrent searches. [2026-04-09 15:33:31,214] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.53s [2026-04-09 15:33:34,089] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 15:33:34,089] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 2.87s [2026-04-09 15:33:34,090] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 15:33:34,091] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 15:33:39,599] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (663 chars). [2026-04-09 15:33:39,600] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 5.51s [2026-04-09 15:33:39,620] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 15:33:39,946] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', 'User is a banking and finance major', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany'] [2026-04-09 15:38:59,286] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 15:38:59,380] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.40100903529090215 [2026-04-09 15:38:59,380] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.09s [2026-04-09 15:38:59,381] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 15:38:59,909] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: recommendation, Sufficient: False [2026-04-09 15:38:59,910] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.53s [2026-04-09 15:38:59,911] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 15:39:00,333] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 15:39:00,334] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 15:39:00,335] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 15:39:00,335] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 15:39:00,336] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 15:39:00,336] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 15:39:00,336] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 16 unique documents across all concurrent searches. [2026-04-09 15:39:00,336] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.43s [2026-04-09 15:39:04,111] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 15:39:04,112] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 3.77s [2026-04-09 15:39:04,113] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 15:39:04,113] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 15:39:15,253] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (700 chars). [2026-04-09 15:39:15,254] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 11.14s [2026-04-09 15:39:15,271] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 15:39:15,656] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', 'User is a banking and finance major', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany'] [2026-04-09 15:40:16,497] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 15:40:16,571] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.46798589253172485 [2026-04-09 15:40:16,571] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.07s [2026-04-09 15:40:16,572] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 15:40:17,199] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: False [2026-04-09 15:40:17,199] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.63s [2026-04-09 15:40:17,200] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 15:40:17,666] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 15:40:17,666] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 15:40:17,666] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 15:40:17,667] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 15:40:17,668] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 15:40:17,668] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 15:40:17,668] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 17 unique documents across all concurrent searches. [2026-04-09 15:40:17,669] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.47s [2026-04-09 15:40:21,020] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 15:40:21,020] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 3.35s [2026-04-09 15:40:21,022] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 15:40:21,022] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 15:40:31,285] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (733 chars). [2026-04-09 15:40:31,285] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 10.26s [2026-04-09 15:40:31,298] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 15:40:31,626] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', 'User is a banking and finance major', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany'] [2026-04-09 16:05:32,381] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 16:05:32,429] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.5018492338837071 [2026-04-09 16:05:32,429] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.04s [2026-04-09 16:05:32,430] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 16:05:32,857] [WARNING] app.core.rag.nodes.orchestrator [127868:MainThread] LLM graded context as insufficient but failed to provide a search_strategy! Applying fallback. [2026-04-09 16:05:32,857] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: greeting, Sufficient: False [2026-04-09 16:05:32,858] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.43s [2026-04-09 16:05:32,859] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 16:05:41,408] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (109 chars). [2026-04-09 16:05:41,408] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 8.55s [2026-04-09 16:05:41,425] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 16:05:41,761] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', 'User is a banking and finance major', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany'] [2026-04-09 16:06:42,733] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 16:06:42,850] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.33790459262755945 [2026-04-09 16:06:42,850] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.11s [2026-04-09 16:06:42,851] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 16:06:43,388] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: seeking_information, Sufficient: False [2026-04-09 16:06:43,388] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.54s [2026-04-09 16:06:43,389] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-09 16:06:43,831] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 16:06:43,831] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 16:06:43,831] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 16:06:43,831] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 16:06:43,833] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-09 16:06:43,833] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-09 16:06:43,833] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 18 unique documents across all concurrent searches. [2026-04-09 16:06:43,834] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.44s [2026-04-09 16:06:47,032] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-09 16:06:47,033] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 3.20s [2026-04-09 16:06:47,034] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-09 16:06:47,034] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 16:07:02,099] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (828 chars). [2026-04-09 16:07:02,099] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 15.07s [2026-04-09 16:07:02,113] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-09 16:07:02,402] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', 'User is a banking and finance major', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany', 'User has a 3.82 GPA', 'User graduated in 2025'] [2026-04-09 17:00:41,730] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-09 17:00:41,778] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.529810905456543 [2026-04-09 17:00:41,778] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.04s [2026-04-09 17:00:41,779] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-09 17:00:42,155] [WARNING] app.core.rag.nodes.orchestrator [127868:MainThread] LLM graded context as insufficient but failed to provide a search_strategy! Applying fallback. [2026-04-09 17:00:42,155] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: greeting, Sufficient: False [2026-04-09 17:00:42,155] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 0.38s [2026-04-09 17:00:42,157] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-09 17:00:46,644] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (72 chars). [2026-04-09 17:00:46,644] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 4.49s [2026-04-09 17:00:46,667] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1836_conversation... [2026-04-09 17:00:46,920] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1836_conversation: [] [2026-04-10 05:59:02,529] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-10 05:59:02,587] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.5226744582659992 [2026-04-10 05:59:02,587] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.04s [2026-04-10 05:59:02,589] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-10 05:59:05,748] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: greeting, Sufficient: True [2026-04-10 05:59:05,749] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 3.16s [2026-04-10 05:59:05,750] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-10 06:02:39,098] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (72 chars). [2026-04-10 06:02:39,098] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 213.35s [2026-04-10 06:02:39,124] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1831_conversation... [2026-04-10 06:02:39,989] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1831_conversation: ['User has a BBA degree', 'User is a banking and finance major', "User wants to pursue a master's degree in Germany", 'User wants English-taught programs', 'User has just started preparing for Germany', 'User has a 3.82 GPA', 'User graduated in 2025'] [2026-04-10 11:04:10,883] [INFO] app.api.chat [127868:MainThread] Chat request received [2026-04-10 11:04:11,004] [INFO] app.core.rag.nodes.faq_retriever [127868:MainThread] FAQ vector search top hit score/distance: 0.4498427346301833 [2026-04-10 11:04:11,004] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'faq_retriever_node' took 0.11s [2026-04-10 11:04:11,006] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Invoking Orchestrator LLM [2026-04-10 11:04:12,816] [INFO] app.core.rag.nodes.orchestrator [127868:MainThread] Orchestrator Result - Intent: recommendation, Sufficient: False [2026-04-10 11:04:12,816] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'orchestrator_node' took 1.81s [2026-04-10 11:04:12,817] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Dispatching 3 concurrent vector searches... [2026-04-10 11:04:13,385] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-10 11:04:13,385] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-10 11:04:13,388] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-10 11:04:13,388] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-10 11:04:13,389] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from blogs: 4 [2026-04-10 11:04:13,390] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Retrieved docs from programs: 4 [2026-04-10 11:04:13,390] [INFO] app.core.rag.nodes.retrieve [127868:MainThread] Pooled 22 unique documents across all concurrent searches. [2026-04-10 11:04:13,390] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'retrieve_documents' took 0.57s [2026-04-10 11:04:17,812] [INFO] app.core.rag.nodes.rerank [127868:MainThread] Using 3 after reranking. [2026-04-10 11:04:17,812] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'rerank_documents' took 4.42s [2026-04-10 11:04:17,813] [INFO] app.core.rag.nodes.generate [127868:MainThread] Building context with 3 docs for final answer. [2026-04-10 11:04:17,814] [INFO] app.core.rag.nodes.generate [127868:MainThread] Invoking llm for generation [2026-04-10 11:04:31,001] [INFO] app.core.rag.nodes.generate [127868:MainThread] Received response from llm (856 chars). [2026-04-10 11:04:31,001] [INFO] app.core.rag.nodes.time [127868:MainThread] Node 'generate_answer' took 13.19s [2026-04-10 11:04:31,017] [INFO] app.core.rag.memory [127868:MainThread] Extracting memory in background for 1837_conversation... [2026-04-10 11:04:32,182] [INFO] app.core.rag.memory [127868:MainThread] Updating memory for 1837_conversation: ['User has BSc CSIT degree with 71.2% from 2024', "User wants to study Master's in CS/IT", 'User is targeting winter semester intake', 'User is interested in public universities']