Commit Graph

22 Commits

Author SHA1 Message Date
Nielson Janné
7277cd6ff9 Factor out some duplication 2025-04-13 14:27:38 +02:00
Nielson Janné
ec4edf9c92 Improve type hinting 2025-04-13 14:27:38 +02:00
Nielson Janné
92b57224fa Use a single system prompt everywhere 2025-04-13 14:27:02 +02:00
Nielson Janné
b1e8f19f00 Fixes some logging api mistakes 2025-04-11 19:58:11 +02:00
Nielson Janné
f965f7bc1b check for key instead of using try/except clause 2025-04-10 15:36:04 +02:00
Nielson Janné
ce88140ee9 Remove unused var 2025-04-10 15:35:26 +02:00
Nielson Janné
58f9d1f6b5 Remove superfluous import 2025-04-10 15:35:15 +02:00
Ruben Lucas
df2afd73cb 🎨 Reset retrieved sources 2025-04-09 16:30:39 +02:00
Ruben Lucas
67ba306d3e 🐛 If check for pdf source because try doesn't fail 2025-04-09 16:06:15 +02:00
Ruben Lucas
ab1235bd28 Create single source aggregation definition 2025-04-09 16:03:35 +02:00
3295bb8992 Find and add found sources 2025-04-09 15:23:54 +02:00
Nielson Janné
9baa7b0ef6 Fix a small bug in report web page source 2025-04-09 11:17:09 +02:00
Nielson Janné
9bb9f0ea22 Make RetGenGrap async for smoother user experience 2025-04-09 11:16:55 +02:00
Nielson Janné
db3d1cfa20 Change RetGenLangGraph to use streaming instead of invoking on the LLM 2025-04-08 23:37:04 +02:00
Nielson Janné
5d86ad6961 Add logging warning when no page number is found 2025-03-28 18:56:01 +01:00
Nielson Janné
f3429a15b1 small refacter in ret_gen.py
- improve readability
- reduce chance for potential mistake in future
2025-03-28 18:19:55 +01:00
Nielson Janné
cd14c8add2 Fix pdf source retrieval information 2025-03-28 18:11:41 +01:00
Nielson Janné
506857deeb Factor out processing of responses in functions 2025-03-26 10:34:34 +01:00
Nielson Janné
bb1bf558f7 Add memory in the RetGenGraph 2025-03-17 17:48:30 +01:00
Nielson Janné
f25770e3ce Add a Conditional Retrieve/Generator LangGraph 2025-03-17 16:51:15 +01:00
Nielson Janné
3965ce0fb2 Fixes small bug in RetGenLangGraph 2025-03-17 14:46:16 +01:00
Nielson Janné
3fa0e31521 Refactor out Retrieval/Generator LangGraph 2025-03-17 14:15:50 +01:00