mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-06 09:20:33 +00: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);
|
|
}
|