Configuring the PyPi mirror repository for RAG Studio

To enable tool calling functionality within air-gapped environments that restricts access to the public PyPI repository, you must configure a local mirror repository.

The mirror repository must host the necessary cmlapi dependencies. These dependencies are typically generated using swagger-codegen during the creation of the CML API Python client.

The following are the minimum required package versions for the Python environment:

  • certifi 14.05.14 or higher
  • six 1.10 or higher
  • python_dateutil 2.5.3 or higher
  • setuptools 21.0.0 or higher
  • urllib3 1.15.1 or higher