Commit Graph

83 Commits

Author SHA1 Message Date
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
Juuso Alasuutari
f0b942d323 llmodel: fix wrong and/or missing prompt callback type
Fix occurrences of the prompt callback being incorrectly specified, or
the response callback's prototype being incorrectly used in its place.

Signed-off-by: Juuso Alasuutari <juuso.alasuutari@gmail.com>
2023-05-21 16:02:11 -04:00
Magnus Bengtsson
7c6b8395b4 Fix #614, where relative paths to includes makes imports fail (#644) 2023-05-20 16:36:29 -04:00
Richard Guo
279156e116 GPT4All Updated Docs and FAQ (#632)
* working on docs

* more doc organization

* faq

* some reformatting
2023-05-18 16:07:57 -04:00
Richard Guo
c679d35eb1 fixed response formatting when streaming 2023-05-18 12:02:11 -04:00
Richard Guo
860193b9e8 updating pip version 2023-05-18 12:02:11 -04:00
Richard Guo
4b583dd759 deploying new version with streaming 2023-05-18 12:02:11 -04:00
drbh
596120b44a adds a simple cli chat repl (#566)
* adds a simple cli chat repl

* add n thread support and append assistant response
2023-05-16 16:47:54 -04:00
Richard Guo
7c03bacc19 Improvements to documentation (#606) 2023-05-16 15:29:27 -04:00