Workflow | Status |
---|---|
Continuous Integration (CI) | |
Publish to Nuget |
The RelationalAI (RAI) SDK for C# enables developers to access the RAI REST APIs from C#.
- You can find RelationalAI C# SDK documentation at https://docs.relational.ai/rkgms/sdk/csharp-sdk
- You can find RelationalAI product documentation at https://docs.relational.ai
- You can learn more about RelationalAI at https://relational.ai
Building:
cd rai-sdk-csharp
dotnet build
Running Examples:
cd rai-sdk-csharp/RelationalAI.Examples
dotnet run ListUsers --profile latest
dotnet run CreateEngine --engine csharp-sdk-test --profile latest
dotnet run DeleteEngine --engine csharp-sdk-test --profile latest
.Net Core 3.1
dotnet build
In order to run the examples and, you will need to create an SDK config file.
The default location for the file is $HOME/.rai/config
and the file should
include the following:
[default]
host = azure.relationalai.com
port = <api-port> # optional, default: 443
scheme = <scheme> # optional, default: https
client_id = <your client_id>
client_secret = <your client secret>
client_credentials_url = <account login URL> # optional
# default: https://login.relationalai.com/oauth/token
Client credentials can be created using the RAI console at https://console.relationalai.com/login
cd rai-sdk-csharp/RelationalAI.Examples
dotnet run ListUsers --profile latest
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 Software Development Kit for C# is licensed under the Apache License 2.0. See: https://github.com/RelationalAI/rai-sdk-csharp/blob/master/LICENSE