mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
8119ff4df0
* First workin version of the C# bindings * Update README.md Signed-off-by: mvenditto <venditto.matteo@gmail.com> * Added more docs + fixed prompt callback signature * build scripts revision * Added .editorconfig + fixed style issues --------- Signed-off-by: mvenditto <venditto.matteo@gmail.com>
11 lines
212 B
C#
11 lines
212 B
C#
namespace Gpt4All;
|
|
|
|
public interface ITextPredictionResult
|
|
{
|
|
bool Success { get; }
|
|
|
|
string? ErrorMessage { get; }
|
|
|
|
Task<string> GetPredictionAsync(CancellationToken cancellationToken = default);
|
|
}
|