Prerequisites

Learn how to collect the information you need to deploy the RAG Query Milvus ReadyFlow, and meet other prerequisites.

For your data ingest source

  • You have a query in the form of a question that is relevant to the data in your Milvus collection.

For Cloudera Data Flow

  • You have a Cloudera Data Flow service deployed on Cloudera Anywhere Cloud.

For your data ingest target

  • You have the Milvus access token.
  • You have the name of the destination Milvus collection.
  • You have the URI of the destination Milvus instance.
  • Your Milvus collection schema has the following field names and field types:
    • id (INT64) You must enable Auto ID on this field.
    • text_embedding (FLOAT_VECTOR)
    • source (VARCHAR)
    • section (VARCHAR)
    • text (VARCHAR)
  • The ‘text_embedding’ field in your destination Milvus collection is configured with the same dimensions as the default HuggingFace 'all-MiniLM-L12-v2' model (384).
  • The source, section and text VARCHAR fields have been configured with Max Length values large enough to accommodate their respective values in your PDFs.
  • You have the OpenAI API key.
  • Your Milvus collection has data loaded that is relevant to your prompt query. For example, PDFs related to the query have been loaded to Milvus using the S3 to Milvus or ADLS to Milvus ReadyFlows.