RAG Tool Object Storage Guidelines for Generative AI Agents

Review the following guidelines to prepare Object Storage data for RAG tools in Generative AI Agents.

General Guidelines

To prepare data for Generative AI Agents data sources in OCI Generative AI Agents follow these guidelines:

  • Data Sources: Data for Generative AI Agents must be uploaded as files to an Object Storage bucket.
  • Number of Buckets: Only one bucket is allowed per data source.
  • Supported File Types: Only PDF and txt files are supported.
  • File Size Limit: Each file must be no larger than 100 MB.
  • PDF Contents: PDF files can include images, charts, and reference tables but these must not exceed 8 MB.
  • Chart Preparation: No special preparation is needed for charts, as long as they're two-dimensional with labeled axes. The model can answer questions about the charts without explicit explanations.
  • Table Preparation: Use reference tables with several rows and columns. For example, the agent can read the table on the limits page.
  • URLs: All the hyperlinks present in the PDF documents are extracted and displayed as hyperlinks in the chat response.
  • Data Not Ready: If your data isn't yet available, create an empty folder for the data source and populate it later. This way, you can ingest data into the source after the folder is populated.

Was this article helpful?