mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-10-05 04:01:38 +00:00
C# bindings (#650)
* 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>
This commit is contained in:
8
gpt4all-bindings/csharp/Gpt4All/Model/ModelOptions.cs
Normal file
8
gpt4all-bindings/csharp/Gpt4All/Model/ModelOptions.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Gpt4All;
|
||||
|
||||
public record ModelOptions
|
||||
{
|
||||
public int Threads { get; init; } = 4;
|
||||
|
||||
public ModelType ModelType { get; init; } = ModelType.GPTJ;
|
||||
}
|
Reference in New Issue
Block a user