Library / RAG & Knowledge Bases
RAG & Knowledge Bases
Create Image Embeddings from Text Summaries with OpenAI
When you run it, the workflow reads images from Google Drive, extracts color information, has OpenAI describe them, and embeds the summaries in a vector store.
What it does
## 2. Image Embedding Methods Read more about working with images in n8n There are a myriad of image embedding techniques some which involve specialised models and some which do a simplified image-to-text representation. In this demo, we'll use the simplified text representation methods: collecting color channel information and using Multimodal LLMs to produce keywords for the image. Together, these will form the document we'll embed to represent our image for search.
The steps
- When clicking "Test workflow"
- Google Drive
- Get Color Information
- Resize Image
- Default Data Loader
- Recursive Character Text Splitter
- Combine Image Analysis
- Document for Embedding
- Embeddings OpenAI1
- Get Image Keywords
- In-Memory Vector Store
- Embeddings OpenAI
- Search for Image
Similar automations
RAG & Knowledge BasesIndex Google Drive Files into Pinecone with OpenAI Embeddings6 stepsRAG & Knowledge BasesChat with Google Drive Files Using OpenAI Embeddings23 stepsRAG & Knowledge BasesLoad Google Drive Files into a PGVector Database22 stepsRAG & Knowledge BasesEmbed Google Drive Images with OpenAI and Color Data18 steps