How we index images for RAG
kapa.ai
How we index images for RAG
1–10 of 41 posts
Re: How we index images for RAG
#2Re: How we index images for RAG
#3Re: How we index images for RAG
#4This is what I've been doing in my Obsidian infodump for a while. If I know that an image is important, I generate a text description (Mermaid if possible, English if not) and paste it after the image in a block. This lets agents see the image if they don't really see it. Though my process is manual, the improvements in outcomes for agents that rely on text search/retrieval is very real and is worth it.
Re: How we index images for RAG
#5That cookie popup just makes me wanna leave and never come back
Re: How we index images for RAG
#6Re: How we index images for RAG
#7For example you might identify a car in an image but the context is the car running a red light. A new model might pick that up while an old one doesn't. These context adjustments might sometimes require you to rerun your LLM processing or potentially have a one to many relationship for multiple runs so you can take the best of or combine results.
Actual usage will also reveal most commonly used assets and you can target the ones that are most trafficked and save a ton on processing that way.
Re: How we index images for RAG
#8Re: How we index images for RAG
#9https://github.com/Qbix/AI/blob/6753f6e453908682401f49760002...
https://github.com/Qbix/AI/blob/main/config/observations.jso...
wrote it up here a few months ago: https://community.safebots.ai/t/building-cultural-infrastruc...