Installation¶
Requirements and Setup¶
Dria SDK is compatible with Python 3.10 or higher. Start by creating a new conda env:
Then to install the SDK, simply run the following command in your terminal:
If you are having problems with installing coincurve, try installing coincurve separately :
and install dria package by:
If issues persist, see section
Obtaining Your RPC Key¶
To interact with the Dria Network, you'll need an RPC (Remote Procedure Call) token. This token is essential for sending tasks to the network. Visit the Dria Login API and get your unique RPC token.
You can add your RPC key as an env variable by following command on your terminal
Alternatively, you can create a .env
file and use dotenv
Your .env file should look like:
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.
GCC related issues:¶
If you are having problems with coincurve
Try installing brew
and xcode tools
Install brew by:
and run:
re create env
Seperately install coincurve:
Install dria:
If you are still facing issues, please reach out to us at Discord for further assistance. ```