ReadyFlow overview: RAG Query Milvus

You can use the RAG Query Milvus ReadyFlow to query Milvus VectorDB with an embedded prompt.

This ReadyFlow generates and vectorizes a query from a user-specified question. It then performs a semantic similarity search on the specified Milvus collection and returns the result with the shortest distance, extracting the specified fields. The flow then performs a lexical search based on the specified fields and returns all rows with the returned section, storing them as a text attribute. A prompt is created from the original user query and generated text document. The prompt is then passed to ChatGPT for an answer to the user query. A Milvus access token and an OpenAI API key are required to run this flow. Define a KPI on the failure_AskChatGPT connection to monitor failed responses.

RAG Query Milvus ReadyFlow details
Source Custom Prompt-Query
Source Format Natural Language
Destination Milvus
Destination Format Vector DB