Menu

1 / 5

Gemini API File Search: Enhanced Multimodal Capabilities with Embedding 2, Including Open-Source LINE Bot Implementation

DEV Community·Evan Lin·6 months ago
#zHqbIXtX
#pitfall#comment#api#gemini#file
Reading 0:00
15s threshold

(Image source: Google Blog - Gemini API File Search is now multimodal: build efficient, verifiable RAG )

Recap: RAG Finally Doesn't Need to Build Legos

In the past few years, whenever developers thought about RAG (Retrieval-Augmented Generation), the component list that came to mind probably looked like this:

A chunker (langchain? Write it yourself?)

An embedding model (OpenAI text-embedding-3? Cohere? BGE?)

A vector database (ChromaDB, FAISS, pgvector, Pinecone… which one to choose is a battle)

A retrieval + rerank process

And then the LLM

Not to mention that multimodal RAG needs another layer: How to embed images? Do you need to OCR first? Do you need to split two stores, one for text and one for images? How to calculate scores for mixed text and image search?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.