Commit graph

195 commits

Author SHA1 Message Date
Yiorgis Gozadinos
450a58eb52
Update OpenAI pydantic model 2025-09-03 11:41:48 +03:00
Yiorgis Gozadinos
9830726bc7
vb 2025-09-03 11:28:41 +03:00
Yiorgis Gozadinos
16fcab60e4
Merge pull request #45 from ggozad/chore/deps-update
Dependencies update
2025-09-03 11:28:02 +03:00
Yiorgis Gozadinos
974451edc7
Suppress httpx logging 2025-09-03 11:27:33 +03:00
Yiorgis Gozadinos
d6b66b464d
update deps 2025-09-03 11:27:17 +03:00
Yiorgis Gozadinos
6990a05ad7
Merge pull request #44 from ggozad/feat/lance-db
Replace sqlite & sqlite-vac with lancedb.
2025-09-03 11:13:41 +03:00
Yiorgis Gozadinos
221a00ab2f
Turn migration into a cli command 2025-09-03 11:12:23 +03:00
Yiorgis Gozadinos
ed604f6a1d
Batch operations & small optimization 2025-09-03 10:50:08 +03:00
Yiorgis Gozadinos
75e878308e
Simplify deleting all chunks 2025-09-02 15:13:31 +03:00
Yiorgis Gozadinos
b73949c784
update benchmarks 2025-09-02 15:10:57 +03:00
Yiorgis Gozadinos
ecf8894755
Fix checking settings 2025-09-02 13:01:36 +03:00
Yiorgis Gozadinos
9e5f11060d
Allow connecting to lancedb cloud, s3, gc, az etc 2025-09-02 12:49:17 +03:00
Yiorgis Gozadinos
767d36b494
Use a lock for optimize(), when bulk creating chunks optimize once. 2025-09-02 12:10:54 +03:00
Yiorgis Gozadinos
fe850e778d
Remove Ollama reranker, this was a bad idea 2025-09-02 11:42:31 +03:00
Yiorgis Gozadinos
e08fce84f8
Debounce optimize() to avoid exceeding too-many-files-open 2025-09-02 10:55:58 +03:00
Yiorgis Gozadinos
27b16bdf8d
Update basic benchmarks 2025-09-02 10:51:20 +03:00
Yiorgis Gozadinos
b05e5f5408
Set/get haiku version to db 2025-09-01 17:41:41 +03:00
Yiorgis Gozadinos
58a04db556
Disable reranking by default 2025-09-01 15:00:38 +03:00
Yiorgis Gozadinos
d233788400
Optimize table after insertion, update instead of recreating the index 2025-09-01 14:56:15 +03:00
Yiorgis Gozadinos
a5e087aa53
Fix scores depending on search type 2025-09-01 14:56:15 +03:00
Yiorgis Gozadinos
628bdc8151
Cleanup 2025-09-01 14:56:15 +03:00
Yiorgis Gozadinos
0592a7d122
Adapt search to lancedb 2025-09-01 14:56:14 +03:00
Yiorgis Gozadinos
c69daecf53
update docs 2025-09-01 14:56:14 +03:00
Yiorgis Gozadinos
b83596ff07
Basic moving to lancedb. 2025-09-01 14:56:14 +03:00
Yiorgis Gozadinos
24c587f770
vb 2025-08-17 15:28:26 +02:00
Yiorgis Gozadinos
adb5158118
Merge pull request #40 from ggozad/fix/revert-provider-model-change
Bring back QA_MODEL and keep compatibility with previous versions
2025-08-17 15:27:44 +02:00
Yiorgis Gozadinos
1f61d78165
Bring back QA_MODEL and keep compatibility with previous versions 2025-08-17 15:27:03 +02:00
Yiorgis Gozadinos
27c74fbbf7
Merge pull request #39 from ggozad/feat/pydantic
Use pydantic AI
2025-08-17 15:04:42 +02:00
Yiorgis Gozadinos
d6d79d5e94
Allow any provider/model supported by pydantic AI 2025-08-17 14:55:50 +02:00
Yiorgis Gozadinos
4ac658e9dd
Convert LLM Judge 2025-08-17 14:36:51 +02:00
Yiorgis Gozadinos
60543caa36
Use /no_think for Ollama 2025-08-15 23:13:27 +02:00
Yiorgis Gozadinos
79841f32ca
Do not use mocks in embeddings test 2025-08-15 22:01:57 +02:00
Yiorgis Gozadinos
4e2e6e490e
Update extras and docs 2025-08-15 21:44:33 +02:00
Yiorgis Gozadinos
26a3715902
Refactor Ollama reranker around pydantic AI 2025-08-15 21:26:16 +02:00
Yiorgis Gozadinos
390397570a
Migrate QA agent to Pydantic AI. 2025-08-15 21:13:17 +02:00
Yiorgis Gozadinos
ca29178b2d
vb 2025-08-12 16:55:39 +02:00
Yiorgis Gozadinos
74f5cbd3c5
Merge pull request #38 from ggozad/feat/radius-param
Allow radius as parameter to expand_context() for custom tools.
2025-08-12 16:55:01 +02:00
Yiorgis Gozadinos
bf8a4f22be
Make radius a parameter we can pass to expand_context() 2025-08-12 16:53:45 +02:00
Yiorgis Gozadinos
edbd360bca
vb 2025-08-12 15:30:14 +02:00
Yiorgis Gozadinos
3d8682e5c8
vb 2025-08-12 15:28:21 +02:00
Yiorgis Gozadinos
ee44e4b181
Merge pull request #37 from ggozad/feat/adjacent_chunks
Allow expanding the search context with adjacent chunks through CONTEXT_CHUNK_RADIUS
2025-08-12 15:27:15 +02:00
Yiorgis Gozadinos
99f7401817
Merge expanded context if possible 2025-08-12 15:02:07 +02:00
Yiorgis Gozadinos
e7c2a105ed
Use the expand_context when searching in the qa agent 2025-08-12 14:51:33 +02:00
Yiorgis Gozadinos
eb13426aae
expand_context() by using the adjacent chunks 2025-08-12 14:14:18 +02:00
Yiorgis Gozadinos
2f42b1a3ac
Get adjacent chunks method 2025-08-12 13:24:04 +02:00
Yiorgis Gozadinos
b7dde5bd32
Merge pull request #36 from ggozad/feat/citations
Support for requesting citations in the QA agent and ask() methods.
2025-08-12 13:20:33 +02:00
Yiorgis Gozadinos
842e4a882d
Make citations optional, through cite parameter 2025-08-12 13:19:11 +02:00
Yiorgis Gozadinos
a0d0359618
Change prompt and tool definition to to include citations in the QA agent. 2025-08-12 13:05:37 +02:00
Yiorgis Gozadinos
6f50706e8a
Give the results of search to the qa agent as json including the document uri 2025-08-12 12:40:55 +02:00
Yiorgis Gozadinos
3aa347484a
vb 2025-08-11 11:27:28 +02:00