Commit graph

57 commits

Author SHA1 Message Date
Yiorgis Gozadinos
2347612fb6
Optionally perform reranking when searching 2025-07-19 13:12:34 +03:00
Yiorgis Gozadinos
1437942edc
Make reranker a global module object to avoid re-initialization 2025-07-19 12:51:22 +03:00
Yiorgis Gozadinos
2343ab7751
Return tuple (Chunk, score,) in rerank() 2025-07-19 12:16:17 +03:00
Yiorgis Gozadinos
f25416b0ff
Properly test cohere reranker 2025-07-18 20:55:28 +03:00
Yiorgis Gozadinos
044e1b0a06
mixedbread reranker as default 2025-07-18 20:29:24 +03:00
Yiorgis Gozadinos
0f8124fd98
Simply embedders 2025-07-17 13:17:47 +03:00
Yiorgis Gozadinos
859860318a
Cohere reranker 2025-07-17 13:17:16 +03:00
Yiorgis Gozadinos
20beb23a38
Fix docstrings 2025-07-16 19:06:54 +03:00
Yiorgis Gozadinos
4d8088efa8
Log db upgrades 2025-07-16 18:32:58 +03:00
Yiorgis Gozadinos
0bf5606117
Store haiku.rag version, enabling upgrades 2025-07-16 18:21:41 +03:00
Yiorgis Gozadinos
f4aef4eb9c
Check pypi version on startup 2025-07-14 12:27:28 +03:00
Yiorgis Gozadinos
a2e0f2cefd
Remove Claude nonsense, use context manager 2025-07-12 23:00:49 +03:00
Yiorgis Gozadinos
62a519b094
Prevent rebuild from throwing and recreate the embeddings table 2025-07-12 21:21:14 +03:00
Yiorgis Gozadinos
4444ec50da
Check if settings are compatible when loading a db 2025-07-12 20:56:49 +03:00
Yiorgis Gozadinos
a59b38158d
Settings table & repo, tests 2025-07-12 20:21:34 +03:00
Yiorgis Gozadinos
2f261a33f5
Allow multiple tool calling rounds in QA agent 2025-07-08 12:51:58 +03:00
Yiorgis Gozadinos
bea96f1b1b
Better prompts 2025-07-04 13:29:51 +03:00
Yiorgis Gozadinos
1705e7a21c
Honour QA_MODEL for anthropic and OpenAI 2025-07-04 12:14:13 +03:00
Yiorgis Gozadinos
e66c160055
Support for anthropic in Question/Answering 2025-07-04 11:55:03 +03:00
Yiorgis Gozadinos
27e1c9fd49
Show settings command 2025-07-04 11:54:16 +03:00
Yiorgis Gozadinos
85443ee963
Turn rebuild into a generator, track progress in command line 2025-07-02 11:10:31 +03:00
Yiorgis Gozadinos
11d9f2701e
Rebuild database in client & cli 2025-07-02 10:55:06 +03:00
Yiorgis Gozadinos
954e96370a
Log document uri, meta in search results 2025-06-29 09:26:33 +03:00
Yiorgis Gozadinos
e5d8396d1b
Merge pull request #5 from ggozad/feat/qa
Question/Answering using LLMs
2025-06-28 09:41:55 +03:00
Yiorgis Gozadinos
4bbc23dbd4
Add QA to client, cli 2025-06-28 09:21:45 +03:00
Yiorgis Gozadinos
85b106c461
OpenAI Question/Answer agent 2025-06-28 09:11:39 +03:00
Yiorgis Gozadinos
f3ed88b970
Include document uri and meta in search results 2025-06-28 09:10:23 +03:00
Yiorgis Gozadinos
ca45f8e5d4
Fix db path 2025-06-25 19:01:57 +03:00
Yiorgis Gozadinos
095d532a7a
QA LLM, Ollama implementation 2025-06-25 18:18:28 +03:00
Yiorgis Gozadinos
3c98f246b5
Merge pull request #2 from ggozad/feat/monitor
File monitoring support
2025-06-20 10:30:40 +02:00
Yiorgis Gozadinos
03b2b20ae2
Handle keyboard interrupt 2025-06-20 10:18:07 +02:00
Yiorgis Gozadinos
51e7f990a0
Implement upsert and delete in monitor 2025-06-20 09:28:44 +02:00
Yiorgis Gozadinos
ee57bc0a82
Use path.as_uri() instead of path.resolve() 2025-06-20 09:27:01 +02:00
Yiorgis Gozadinos
8132a44994
Use MONITOR_DIRECTORIES for a list of dirs to monitor 2025-06-20 09:04:07 +02:00
Yiorgis Gozadinos
5f604d31dd
Add monitor 2025-06-20 08:37:56 +02:00
Yiorgis Gozadinos
943cf3c5e0
Rename EMBDEDDING->EMBEDDINGS in env vars 2025-06-19 17:44:42 +02:00
Yiorgis Gozadinos
91c4c30f65
Add support for OpenAI embeddings 2025-06-19 17:38:49 +02:00
Yiorgis Gozadinos
8fbf98466a
MCP server 2025-06-19 15:00:57 +02:00
Yiorgis Gozadinos
9f5ba912d7
Simplify repos 2025-06-19 08:55:34 +02:00
Yiorgis Gozadinos
8a5c505b86
Replace positional params by keyword params for clarity 2025-06-19 08:21:58 +02:00
Yiorgis Gozadinos
d7c9b41a2c
Console app 2025-06-18 16:23:39 +02:00
Yiorgis Gozadinos
ac5c60fecc
default sqlite when no path is given 2025-06-18 10:41:07 +02:00
Yiorgis Gozadinos
a1079fd1f5
VoyageAI embeddings 2025-06-18 09:45:36 +02:00
Yiorgis Gozadinos
51723308ed
Introduce embedder factory 2025-06-18 08:26:11 +02:00
Yiorgis Gozadinos
1e0b6b18aa
Add a context manager to the client 2025-06-17 12:48:26 +02:00
Yiorgis Gozadinos
6321cfb7a8
Add search to client 2025-06-17 12:41:37 +02:00
Yiorgis Gozadinos
0b43c7dc7f
Handle files/url updates and store md5 hash in the meta 2025-06-17 12:22:00 +02:00
Yiorgis Gozadinos
11fd4d75ad
Handle files/url with create_document_from_source in client 2025-06-17 11:26:02 +02:00
Yiorgis Gozadinos
a91249c575
Basic client 2025-06-17 10:48:40 +02:00
Yiorgis Gozadinos
1ff17c2f50
Add uri to Documents 2025-06-17 10:41:44 +02:00