Commit Graph

66 Commits

Author SHA1 Message Date
94a42c3892 Text reader added 2025-04-18 15:33:35 +02:00
fd62724b4c 🎨 Add reranker to config.ini 2025-04-18 13:12:13 +02:00
af5cbcacc3 🔀 Merge remote-tracking branch 'origin/main' into setting-parser 2025-04-18 12:01:57 +02:00
74dd3b6947 🎨 Add .env only for API keys 2025-04-18 11:42:40 +02:00
Ruben Lucas
adcaceab8a 🎨 Fix import order 2025-04-17 13:16:41 +02:00
Ruben Lucas
9935d9e8d3 Change config file location using argument parser 2025-04-17 13:06:27 +02:00
Ruben Lucas
fbc0e74678 Add Reranker model 2025-04-17 12:42:53 +02:00
Ruben Lucas
a58ef2f365 🎨 Use project root instead of relative path 2025-04-17 08:32:38 +02:00
Ruben Lucas
770f341c1f 🎨 Cleanup model init Add huggingface chat model 2025-04-16 16:06:58 +02:00
Ruben Lucas
9777c2ff74 🚚 Rename everything to google vertex 2025-04-16 11:06:56 +02:00
Ruben Lucas
996f3bf7a2 Yaml parser using Pydantic classes 2025-04-15 16:22:55 +02:00
Nielson Janné
79c1450730 Shows PDF to the side with a nice link 2025-04-13 15:27:21 +02:00
Nielson Janné
47f574390e More logging fixes 2025-04-13 15:27:01 +02:00
Nielson Janné
65ec44a73a Fix an import bug 2025-04-13 14:30:09 +02:00
Nielson Janné
5a15f1bd16 define param explicit 2025-04-13 14:27:38 +02:00
Nielson Janné
939a7044b5 Organize imports 2025-04-13 14:27:38 +02:00
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
a980568e24 Merge pull request 'Small fixes' (#22) from small_fixes into main
Reviewed-on: AI_team/generic-RAG-demo#22
2025-04-11 13:01:51 +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
Nielson Janné
1d4e99459e Added support for (local) huggingface embedding models 2025-04-10 15:13: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é
d1e9b3d8cf pretty up source printing in chainlit 2025-03-28 18:11:41 +01:00
Nielson Janné
47c1c1cd6e Add extra logging regarding pdf/web soure parsing 2025-03-28 18:11:41 +01:00
0fe4a628d7 🐛 Check CHAINLIT_STARTERS with default value 2025-03-28 13:47:45 +01:00
Nielson Janné
d37012f780 Make the --pdf-data argument optional 2025-03-26 11:08:54 +01:00
Nielson Janné
506857deeb Factor out processing of responses in functions 2025-03-26 10:34:34 +01:00
Nielson Janné
6cf26dabce Fix a argparse bug 2025-03-17 17:48:39 +01:00
Nielson Janné
bb1bf558f7 Add memory in the RetGenGraph 2025-03-17 17:48:30 +01:00
Nielson Janné
ee0c731faf Add support for both lang Graphs 2025-03-17 17:40:54 +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é
2ba3eadec4 Add some doc-strings 2025-03-17 14:25:39 +01:00
Nielson Janné
3fa0e31521 Refactor out Retrieval/Generator LangGraph 2025-03-17 14:15:50 +01:00
Nielson Janné
3412dea813 Bugfix not passing unstructured_pdf argument along 2025-03-17 14:15:15 +01:00
Nielson Janné
67d681fcc4 Fix --backend flag and description 2025-03-17 12:47:09 +01:00
Nielson Janné
b9d2f348a2 Add option to configure the us of (un)structred pdfs 2025-03-17 12:46:52 +01:00