raglite
raglite copied to clipboard
🥤 RAGLite is a Python toolkit for Retrieval-Augmented Generation (RAG) with DuckDB or PostgreSQL
In the late chunking path, when a single chunklet needs more tokens than the content budget available at its position, the `while` loop in `embed_strings_with_late_chunking` never advances: it spins in...
Hi maintainers 👋 First of all, thank you for building RAGLite — it's one of the cleanest and most thoughtfully designed RAG toolkits I've used. The late-chunking, multi-vector retrieval, and...
Currently, hybrid search executes keyword search and vector search independently, and then combines the results of both with RRF. This could be optimised by implementing a single SQL query that...
When attempting to convert a PDF document that doesn't contain any detectable headings using document_to_markdown, a ValueError is raised: `ValueError: attempt to get argmin of an empty sequence ` This...
Cf. https://github.com/simonw/llm/issues/607
Hi, First of all very cool repository! Thanks for open sourcing it! As far as i can tell, it is not possible now to do metadata filtering before running the...
List of metadata needed to be sorted in a structured way at querying and insertion
Tried `raglite chainlit` with a few models via Ollama: ```bash OLLAMA_API_BASE=http://ollama:11434 CHAINLIT_HOST=0.0.0.0 raglite --llm ollama/llama3.1:8b --embedder ollama/mxbai-embed-large:latest chainlit ``` I tried following models: - `ollama/llama3.1:8b` - `ollama/llama3.2:3b-instruct-q8_0` - `ollama/mistral-small` Ollama...
OpenAI puts a limit of 8192 tokens per embedding request. We should dynamically adjust the batch sizes to fit within that limit.