Credal.Net
0.0.4
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Credal.Net --version 0.0.4
NuGet\Install-Package Credal.Net -Version 0.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Credal.Net" Version="0.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Credal.Net" Version="0.0.4" />
<PackageReference Include="Credal.Net" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Credal.Net --version 0.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Credal.Net, 0.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Credal.Net&version=0.0.4
#tool nuget:?package=Credal.Net&version=0.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Credal.Net
This library is for use with the Credal AI API services. You can use this to access your Copilots in any .Net 8 project.
Usage
First you need to create an API key on Credal and associate it with any trained Copilot you have created. Currently all commands for the API are async methods so you will need an unwrapper to get the results in non async methods.
Install Credal.Net from Nuget
Create an instance of the CredalClient class.
- Pass the Unique Id of your copilot through the constructor
- Pass a valid user email address.
- Pass your API key through the contructor with a valid email address associated with the API key.
using Credal.Net.Client
var client = new CredalClient("copilot-id", "user-email", "api-key");
var credalModel = await client.SendMessageAsync("your-question-for-copilot");
if(credalModel.IsSuccess){
Console.WriteLine(credalModel.Result.Response.Message);
}
Please check out the console demo to see a more detailed example.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.