Agreed! I also found that the images within a pdf dont get OCR'd. They're being "described" like a c
Agreed! I also found that the images within a pdf dont get OCR'd. They're being "described" like a caption, but not analyzed as text. It should





text or image_url but the type is simply string, could be more insightful with a union type


"type": "text"
const query = messages.map(({ content, role }) => ${role}: ${content}).join("\n\n"); helper for the AutoRAG prompt system. also this is repeated itself twice and deserve a function on its own. will fix the PR for the base64 images and add it all there


image_url"type": "text"const query = messages.map(({ content, role }) => ).join("\n\n");