Learn how to build a RAG (Retrieval-Augmented Generation) workflow using both Document Vector Store and GitHub Vector Store together, with query optimization.
This recipe shows you how to build an app that combines multiple Vector Stores for a powerful RAG (Retrieval-Augmented Generation) workflow. Learn to integrate Document Vector Store and GitHub Vector Store with query optimization for comprehensive knowledge base Q&A.
Convert the following question into an optimized search query for documentation:Question: @Question InputGenerate a query with relevant keywords and concepts for searching documentation.Output only the query, nothing else.
Convert the following question into an optimized search query for code:Question: @Question InputGenerate a query with function names, file patterns, and technical terms for searching code.Output only the query, nothing else.
Answer the following question based on the provided content:Question: @Question InputDocumentation:@Document SearchCode & Repository:@Code SearchRequirements:- Answer based on both documentation and code repository content- Reference specific files or passages when applicable- If the answer is not found, clearly state that- Be concise but thorough