The RelationalAI (RAI) CLI provides access to the RAI APIs from the command line.
- You can find RelationalAI product documentation at https://docs.relational.ai
- You can learn more about RelationalAI at https://relational.ai
Update dependencies with the tidy
script
./tidy
Build the rai
binary using the go
tool
go build -o build/rai rai/*
.. or use the handy make
script
./make
Installation consists of simply putting the rai
binary on your path.
In order to use the CLI, you will need to create config file. The default location
for the file is $HOME/.rai/config
and the file should include the following:
Sample configuration using OAuth client credentials:
[default]
host = azure.relationalai.com
client_id = <your client_id>
client_secret = <your client secret>
# the following are all optional, with default values shown
# port = 443
# scheme = https
# client_credentials_url = https://login.relationalai.com/oauth/token
Client credentials can be created using the RAI console at https://console.relationalai.com/login
You can copy config.spec
from the root of this repo and modify as needed.
cd ./test
./run-all
You can reach the RAI developer support team at support@relational.ai
We value feedback and contributions from our developer community. Feel free to submit an issue or a PR here.
The RelationalAI Command Line Interface is licensed under the Apache License 2.0. See: https://github.com/RelationalAI/rai-cli/blob/main/LICENSE