Commit graph

1064 commits

Author SHA1 Message Date
Yiorgis Gozadinos
729a3910d8
Fix visual grounding citation selection in TUI 2026-01-26 16:42:39 +02:00
Yiorgis Gozadinos
ff92ee8271
Skip gather_context when session context exists 2026-01-26 16:42:39 +02:00
Yiorgis Gozadinos
5aabae4d06
Remove background_context & simplify 2026-01-26 16:42:39 +02:00
Yiorgis Gozadinos
9d71ccb213
Move session context to agent, make AGUI work 2026-01-26 16:42:39 +02:00
Yiorgis Gozadinos
93737852a8
Use previous context in summarization 2026-01-26 16:42:38 +02:00
Yiorgis Gozadinos
3214160fe7
Show SessionContext in frontend 2026-01-26 16:42:38 +02:00
Yiorgis Gozadinos
9ed8773672
Unify Citation class and context formatting between chat and research agents 2026-01-26 16:42:38 +02:00
Yiorgis Gozadinos
74eac57ffa
Remove qa_history ranking in favor of SessionContext, planner can skip searching if context adequate 2026-01-26 16:42:38 +02:00
Yiorgis Gozadinos
3b7b7c1bbc
Cancel any running summarization tasks 2026-01-26 16:42:38 +02:00
Yiorgis Gozadinos
8441516a73
Tests, widget to show context in tui 2026-01-26 16:41:13 +02:00
Yiorgis Gozadinos
aaddf4a5a9
Dynamic session context to be used in the conversational agent 2026-01-26 16:41:12 +02:00
Yiorgis Gozadinos
6f94f71d0c
Merge pull request #260 from ggozad/feat/evals-huggingface
Introduce huggingface dataset for sharing evaluation dbs
2026-01-26 16:40:04 +02:00
Yiorgis Gozadinos
369b3a4bf7
No zip 2026-01-26 16:28:19 +02:00
Yiorgis Gozadinos
9b166969e2
Introduce huggingface dataset for sharing evaluation dbs 2026-01-26 15:53:37 +02:00
Yiorgis Gozadinos
50a1a6171c
Update orb qa accuracy 2026-01-26 10:54:36 +02:00
Yiorgis Gozadinos
c7a9ad8583
Customize orb QA prompt to not use LaTeX as gpt-oss Ollama implementation fails to parse it properly 2026-01-24 13:48:09 +02:00
Yiorgis Gozadinos
d025cf5552
Merge pull request #258 from ggozad/chore/dependencies
Update dependencies
2026-01-23 12:26:28 +02:00
Yiorgis Gozadinos
47d355ed0a
Update dependencies 2026-01-23 11:57:02 +02:00
Yiorgis Gozadinos
35ebdd67e2
vb 2026-01-22 17:48:39 +02:00
Yiorgis Gozadinos
3bddf87454
Merge pull request #228 from ggozad/feat/multimodal-evaluation
Add evaluation dataset for multi-modal q&a
2026-01-22 17:47:17 +02:00
Yiorgis Gozadinos
3f9f2191a0
Merge pull request #257 from ggozad/fix/fix-0.25.0-migration
Fix potential 0.25.0 migration crash
2026-01-22 17:46:48 +02:00
Yiorgis Gozadinos
b4c158ffcf
Fix potential 0.25.0 migration crash 2026-01-22 17:29:26 +02:00
Yiorgis Gozadinos
0d3ac5142d
Fix answer in orb 2026-01-22 15:08:33 +02:00
Yiorgis Gozadinos
756285e91c
Add retrieval benchmarks for ORB 2026-01-22 15:01:37 +02:00
Yiorgis Gozadinos
de022639b6
Correctly lookup docs for the orb dataset 2026-01-22 14:17:09 +02:00
Yiorgis Gozadinos
e6b239bd6c
Add evaluation dataset for multi-modal q&a 2026-01-22 14:17:09 +02:00
Yiorgis Gozadinos
32c64d3d11
vb 2026-01-22 12:59:32 +02:00
Yiorgis Gozadinos
0adbf0f125
Merge pull request #250 from tianyicui/fix/dotenv-usecwd
fix: load .env from current working directory, not source file directory
2026-01-22 12:58:01 +02:00
Yiorgis Gozadinos
ea7a4a9a8f
apply dotenv usecwd fix to remaining files
Apply the same find_dotenv(usecwd=True) fix from cli.py to:
- evaluations/evaluations/benchmark.py
- app/backend/main.py

Co-Authored-By: Tianyi Cui <contact@tianyicui.com>
2026-01-22 12:41:35 +02:00
Tianyi Cui
910ebbab22
fix: load .env from current working directory, not source file directory
The previous load_dotenv() searched for .env starting from the calling
file's directory (haiku/rag/cli.py), which fails when users run haiku-rag
from a different directory containing their .env file.

Changes:
- Move load_dotenv() before config imports (config reads env vars at import time)
- Use find_dotenv(usecwd=True) to search from current working directory
2026-01-22 12:36:55 +02:00
Yiorgis Gozadinos
6201303df3
Merge pull request #256 from tseaver/patch-2
fix: mark 'hashlib.md5' as 'usedforsecurity=False'
2026-01-22 10:25:05 +02:00
Tres Seaver
e9746a1785
fix: mark 'hashlib.md5' as 'usedforsecurity=False'
Closes #255.
2026-01-21 12:14:56 -05:00
Yiorgis Gozadinos
4bdfb180d5
Merge pull request #252 from ggozad/fix/score-use
Search results now show rank position instead of raw scores.
2026-01-21 15:28:43 +02:00
Yiorgis Gozadinos
b96e5a3be1
Additional prompts needing adapting. Missing cassettes. 2026-01-21 15:17:56 +02:00
Yiorgis Gozadinos
7f51c63ad7
Search results now show rank position instead of raw scores. Consolidate cassettes 2026-01-21 14:54:15 +02:00
Yiorgis Gozadinos
dff313fa74
Merge pull request #251 from ggozad/feat/jina-reranker
Jina Reranker v3 (local & API)
2026-01-21 14:14:24 +02:00
Yiorgis Gozadinos
a1abfd9666
Jina uses AutoModel not AutoModelForSequenceClassification 2026-01-21 11:26:23 +02:00
Yiorgis Gozadinos
ce95dc47a5
Do not run coverage on download-models & code that requires integration tests 2026-01-21 11:09:35 +02:00
Yiorgis Gozadinos
36a675e1bb
Add jina, mxbai and sentence-transformers to download-models when used 2026-01-21 10:53:45 +02:00
Yiorgis Gozadinos
7ff014684a
Support for jina reranker, both local and API 2026-01-21 10:39:21 +02:00
Yiorgis Gozadinos
b8cf8f5198
Remove reranker cache 2026-01-20 17:26:24 +02:00
Yiorgis Gozadinos
e7ce9694b5
vb 2026-01-20 15:47:37 +02:00
Yiorgis Gozadinos
be82473624
Merge pull request #249 from ggozad/feat/ocr-engine
Add `ocr_engine` field to `ConversionOptions`
2026-01-20 13:56:23 +02:00
Yiorgis Gozadinos
6fd496e908
Merge pull request #248 from ggozad/fix/logfire-chat
Fix crash when logfire is installed but user is not authenticated.
2026-01-20 13:52:09 +02:00
Yiorgis Gozadinos
7bbac66640
Fix crash when logfire is installed but user is not authenticated. Closes #247 2026-01-20 13:43:44 +02:00
Yiorgis Gozadinos
62d35d2907
Add ocr_engine field to ConversionOptions 2026-01-20 13:41:43 +02:00
Yiorgis Gozadinos
8a7514cad2
Merge pull request #244 from ggozad/chore/cleanup
Remove a2a example, clean up
2026-01-19 17:03:50 +02:00
Yiorgis Gozadinos
ea492248e7
Remove a2a examples, clean up 2026-01-19 16:53:40 +02:00
Yiorgis Gozadinos
e32b48d142
Merge pull request #243 from ggozad/chore/ty
replace pyright with ty type checker
2026-01-19 16:32:34 +02:00
Yiorgis Gozadinos
1022d5dafd
Update dependencies 2026-01-19 16:23:26 +02:00