Skip to content

Installation

Requirements and Setup

Dria SDK is compatible with Python 3.10 or higher. Start by creating a new conda env:

conda create -n dria python=3.10
conda activate dria

Then to install the SDK, simply run the following command in your terminal:

pip install dria

If you are having problems with installing coincurve, try installing coincurve separately :

pip3 install --upgrade pip3

pip3 install wheel

pip3 install coincurve

and install dria package by:

pip install --upgrade dria

If issues persist, see section

Obtaining Your RPC Key

To interact with the Dria Network, you'll need an RPC token.

Community Network

Dria Community Network consists of community nodes with LLMs and tool usage capabilities. Visit the Dria Login API and get your unique RPC token.

Pro Network

Dria Pro Network consists of high performance nodes, equipped with even more powerful LLMs, compute and 99.9% reliability. Pro Network is more suitable for production-grade applications and partners in the ecosystem. Please fill out the form to get access to the Pro Network:

Setting Up Your Environment

You can add your RPC key as an env variable by following command on your terminal

export DRIA_RPC_TOKEN=your-token-here

Alternatively, you can create a .env file and use dotenv Your .env file should look like:

DRIA_RPC_TOKEN=your-token-here
Import env variables with:
from dotenv import load_dotenv
load_dotenv()

Important Notes

  • Network Status: The Dria Network is currently in alpha stage. Access is managed through RPCs to ensure controlled access and trusted task execution.

  • Cost: At present, there is no cost associated with generating data using Dria. However, a valid RPC token is required to access the network.

  • Contributing: You can contribute to the Dria ecosystem by running a node in the Dria network. This helps scale the network and improve throughput.

Next Steps

Once you have your RPC token, you're ready to start using the Dria SDK. Check out the examples from cookbook (e.g. Patient Dialogues) or see pipelines to learn how to create your first synthetic data pipeline.

If you are having problems with coincurve Try installing brew and xcode tools

xcode-select --install

Install brew by:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

and run:

brew install automake libtool

re create env

conda create -n dria_new python=3.10
conda activate dria_new

Seperately install coincurve:

pip3 install --upgrade pip3

pip3 install wheel

pip3 install coincurve

Install dria:

pip install dria

If you are still facing issues, please reach out to us at Discord for further assistance. ```