Prerequisites
Learn how to collect the information you need to deploy the RAG Query Milvus [Technical Preview] 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 DataFlow
-
You have enabled Cloudera DataFlow for an environment.
For information on how to enable Cloudera DataFlow for an environment, see Enabling Cloudera DataFlow for an Environment.
-
You have created a Machine User to use as the Cloudera Workload User.
- You have given the Cloudera Workload User the
EnvironmentUser role.
- From the Management Console, go to the environment for which Cloudera DataFlow is enabled.
- From the Actions drop down, click Manage Access.
- Identify the user you want to use as a Workload User.
- Give that user EnvironmentUser role.
-
You have synchronized your user to the Cloudera Public Cloud environment that you enabled for Cloudera DataFlow.
For information on how to synchronize your user to FreeIPA, see Performing User Sync.
- You have granted your Cloudera user the DFCatalogAdmin and DFFlowAdmin
roles to enable your user to add the ReadyFlow to the Catalog and deploy the flow
definition.
- Give a user permission to add the ReadyFlow to the
Catalog.
- From the Management Console, click User Management.
- Enter the name of the user or group you wish to authorize in the Search field.
- Select the user or group from the list that displays.
- Click .
- From Update Roles, select DFCatalogAdmin and click Update.
- Give your user or group permission to deploy flow definitions.
- From the Management Console, click Environments to display the Environment List page.
- Select the environment to which you want your user or group to deploy flow definitions.
- Click Environment Access page. to display the
- Enter the name of your user or group you wish to authorize in the Search field.
- Select your user or group and click Update Roles.
- Select DFFlowAdmin from the list of roles.
- Click Update Roles.
- Give your user or group access to the Project where the ReadyFlow will be
deployed.
- Go to .
- Select the project where you want to manage access rights and click .
- Start typing the name of the user or group you want to add and select them from the list.
- Select the Resource Roles you want to grant.
- Click Update Roles.
- Click Synchronize Users.
- Give a user permission to add the ReadyFlow to the
Catalog.
For your data ingest target
- You have the OpenAI API key.
- Your Milvus version is 2.4.4.
- 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.
-
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.