Install latest from the GitHub repository:
$ pip install git+https://github.com/explodinggradients/ragas_experimental.git
or from pypi
$ pip install ragas_experimental
First do signup to beta.app.ragas.io and
generate the App Token and put it in the as the env variable
RAGAS_APP_TOKEN
.
import os
# ideally you load this from a .env file so as to not commit it to the repo
os.environ["RAGAS_APP_TOKEN"] = "api-key"
Now lets init a
Project
in the App
from ragas_experimental import Project
project = Project.create("my-project")
project