GenAI beyond basics
March 17, 2026 ยท View on GitHub
A collection of Generate AI related samples.
Samples
Frameworks
LangChain
Semantic Kernel
Grounding & RAG
Grounding
RAG
- RAG with a PDF using LangChain and Annoy Vector Store
- RAG with a PDF using LangChain and Firestore Vector Store
- RAG with a PDF using LlamaIndex and SimpleVectorStore on Vertex AI
- LlamaIndex on Vertex AI with RAG API
- RAG with a PDF using File Search Tool in Gemini API
Retrieval
- Multimodal image storage and retrieval with Chroma
- Multimodal image storage and retrieval with Firestore Vector Store
Function calling
Input and output
- Response type and schema (Vertex AI)
- Response schema and pydantic (LangChain)
- Context caching
- Batch generation of content