Commit Graph

91 Commits

Author SHA1 Message Date
Richard Guo
fc3655e163 small typo fix 2023-06-02 12:32:26 -04:00
Richard Guo
d051ac889c more cleanup 2023-06-02 12:32:26 -04:00
Richard Guo
46986d5f26 cleanup 2023-06-02 12:32:26 -04:00
Richard Guo
67b7641390 fixed finding model libs 2023-06-02 12:32:26 -04:00
Richard Guo
8ad14e209a load libs correctly 2023-06-02 12:32:26 -04:00
Richard Guo
711f8e8af4 model creation is failing... debugging 2023-06-02 12:32:26 -04:00
Richard Guo
74e69a3e80 load all model libs 2023-06-02 12:32:26 -04:00
Richard Guo
9ed9530367 updated bindings code for updated C api 2023-06-02 12:32:26 -04:00
mvenditto
fc5537badf C# Bindings - improved logging (#714)
* added optional support for .NET logging

* bump version and add missing alpha suffix

* avoid creating additional namespace for extensions

* prefer NullLogger/NullLoggerFactory over null-conditional ILogger to avoid errors

---------

Signed-off-by: mvenditto <venditto.matteo@gmail.com>
2023-06-01 21:01:27 +01:00
Andriy Mulyar
d15ff7de40 Update gpt4all_chat.md (#800)
Signed-off-by: Andriy Mulyar <andriy.mulyar@gmail.com>
2023-06-01 15:35:06 -04:00
Tim Miller
455e6aa7ce Fix MSVC Build, Update C# Binding Scripts 2023-06-01 14:24:23 -04:00
Ettore Di Giacinto
ac079b1e67 Add ldl in gpt4all.go for dynamic linking (#797) 2023-06-01 19:50:08 +02:00
mudler
901618f607 Drop leftover include 2023-06-01 13:03:44 -04:00
mudler
3da205fb2e Style 2023-06-01 10:36:22 -04:00
mudler
ea3f91ed24 Adapt makefile 2023-06-01 10:36:22 -04:00
mudler
96d3cfd053 Debug 2023-06-01 10:36:22 -04:00
mudler
3a29055606 Makefile changes (WIP to test) 2023-06-01 10:36:22 -04:00
mudler
2a6b6fc1b5 Adapt code 2023-06-01 10:36:22 -04:00
Andriy Mulyar
ed0bade24d Documentation improvements on LocalDocs (#790)
* Update gpt4all_chat.md

Signed-off-by: Andriy Mulyar <andriy.mulyar@gmail.com>

* typo

Signed-off-by: Andriy Mulyar <andriy.mulyar@gmail.com>

---------

Signed-off-by: Andriy Mulyar <andriy.mulyar@gmail.com>
2023-06-01 10:29:29 -04:00
Andriy Mulyar
fae8d65582 Fixed formatting of localdocs docs (#770) 2023-05-30 16:19:48 -04:00
Andriy Mulyar
7e18f179e9 Improved localdocs documentation (#762)
* Improved localdocs documentation

* Improved localdocs documentation

* Improved localdocs documentation

* Improved localdocs documentation
2023-05-30 11:26:34 -04:00
Andriy Mulyar
3bb19b5e91 LocalDocs documentation initial (#761)
* LocalDocs documentation initial
2023-05-30 08:35:26 -04:00
mvenditto
522dfdbfe1 C# Bindings - Prompt formatting (#712)
* Added support for custom prompt formatting

* more docs added

* bump version
2023-05-28 19:57:00 -04:00
Nandakumar
4161bfba33 Update README.md (#738)
* Update README.md

fix golang gpt4all import path

Signed-off-by: Nandakumar <nandagunasekaran@gmail.com>

* Update README.md

Signed-off-by: Nandakumar <nandagunasekaran@gmail.com>

---------

Signed-off-by: Nandakumar <nandagunasekaran@gmail.com>
2023-05-28 19:51:11 -04:00
Joseph Mearman
6ec2e26cd1 tiny typo (#739) 2023-05-28 19:50:45 -04:00
Richard Guo
9f62d4d05f hotfix default verbose optioin 2023-05-26 12:49:32 -04:00
Konstantin Gukov
6ec3efa355 one funcion to append .bin suffix 2023-05-26 09:24:03 -04:00
Konstantin Gukov
52efd17165 Correct indentation of the multiline error message 2023-05-26 09:24:03 -04:00
Konstantin Gukov
39bdd74ddd Add optional verbosity 2023-05-26 09:24:03 -04:00
Konstantin Gukov
136a5ac30d Correct return type 2023-05-26 09:24:03 -04:00
Konstantin Gukov
e362e18431 Do not ignore explicitly passed 4 threads 2023-05-26 09:24:03 -04:00
Konstantin Gukov
a2e2a64899 Redundant else 2023-05-26 09:24:03 -04:00
Konstantin Gukov
8229bb5477 1. Cleanup the interrupted download
2. with-syntax
2023-05-26 09:24:03 -04:00
Konstantin Gukov
b12e0e98c7 less magic number 2023-05-26 09:24:03 -04:00
Konstantin Gukov
4dff67cee5 convert to f-strings 2023-05-26 09:24:03 -04:00
Konstantin Gukov
6e3c59d8b2 reduce nesting, better error reporting 2023-05-26 09:24:03 -04:00
Konstantin Gukov
591a047204 Concise model matching 2023-05-26 09:24:03 -04:00
Konstantin Gukov
4de8f991f9 Log where the model was found 2023-05-26 09:24:03 -04:00
Konstantin Gukov
b6b21441c7 Nicer handling of missing model directory.
Correct exception message.
2023-05-26 09:24:03 -04:00
Konstantin Gukov
84201784b5 More precise condition 2023-05-26 09:24:03 -04:00
Konstantin Gukov
e3bdc8fc87 rm redundant json 2023-05-26 09:24:03 -04:00
redthing1
0e11584783 make sample print usage and cleaner 2023-05-25 11:34:21 -04:00
redthing1
448acb337d create test project and basic model loading tests 2023-05-25 11:34:07 -04:00
redthing1
9248bd0c1e ignore rider and vscode dirs 2023-05-25 11:34:07 -04:00
Andriy Mulyar
8bf1e5abbd Update index.md (#689)
Signed-off-by: Andriy Mulyar <andriy.mulyar@gmail.com>
2023-05-22 17:29:01 -07:00
redthing1
5a74b552f9 make build_linux.sh have +x permission 2023-05-22 18:10:30 -04:00
mvenditto
6ab38d8aea 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>
2023-05-22 12:56:49 -07:00
Jacob Nguyen
394d9b4076 nodejs bindings (#602)
* chore: boilerplate, refactor in future

* chore: boilerplate

* feat: can compile succesfully

* document .gyp file

* add src, test and fix gyp

* progress on prompting and some helper methods

* add destructor and basic prompting work, prepare download function

* download function done

* download function edits and adding documentation

* fix bindings memory issue and add tests and specs

* add more documentation and readme

* add npmignore

* Update README.md

Signed-off-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com>

* Update package.json - redundant scripts

Signed-off-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com>

---------

Signed-off-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com>
2023-05-22 12:55:22 -07:00
mudler
11984de7e7 fix: adapt golang bindings to api changes 2023-05-22 11:52:56 -04:00
Andriy Mulyar
98b435628f Improved documentation landing page (#665)
* Better doc landing page

* Typo

* Improved docs landing page
2023-05-21 23:14:18 -04:00