Development environment

Preview

This feature is in Private Preview. To try it, reach out to your Databricks contact.

Looking for a different RAG Studio doc? Go to the RAG documentation index

RAG Studio applications are developed using a local environment. Follow these steps to configure your development environment.

Tip

🚧 Roadmap 🚧 Support for developing RAG Studio apps using only the Databricks Notebook as your IDE.

  1. Follow the Databricks CLI installation instructions to install or upgrade the Databricks CLI on your development machine.

    Warning

    Using an older and incompatible Databricks CLI version generates an error. If that happens, follow the upgrade instructions

  2. Authenticate the Databricks CLI following the steps for using your personal access token or OAuth user-to-machine (U2M) authentication.

    Note

    You must use the same Workspace in which you create RAG Studio’s required infrastructure.

  3. Set up your Python environment

    1. Install Python 3.10

      Warning

      RAG Studio has been tested in Python 3.10. Although you can use a higher Python version, we suggest using Python 3.10.

    2. Using your preferred virtual environment manager, create a virtual environment.

      Note

      While technically optional, we strongly suggest using a virtual environment since after creating a RAG Application, you will install RAG Studio’s requirements.txt.