]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
examples : add server example with REST API (#1443)
authorSteward Garcia <redacted>
Sun, 21 May 2023 17:51:18 +0000 (11:51 -0600)
committerGitHub <redacted>
Sun, 21 May 2023 17:51:18 +0000 (20:51 +0300)
commit7e4ea5beff567f53be92f75f9089e6f11fa5dabd
tree1979bd9d613a00c047885651ea36230fdfad6218
parent7780e4f479dc5af106287c164b8e186cd9b6215c
examples : add server example with REST API (#1443)

* Added httplib support

* Added readme for server example

* fixed some bugs

* Fix the build error on Macbook

* changed json11 to nlohmann-json

* removed some whitespaces

* remove trailing whitespace

* added support custom prompts and more functions

* some corrections and added as cmake option
CMakeLists.txt
examples/CMakeLists.txt
examples/server/CMakeLists.txt [new file with mode: 0644]
examples/server/README.md [new file with mode: 0644]
examples/server/httplib.h [new file with mode: 0644]
examples/server/json.hpp [new file with mode: 0644]
examples/server/server.cpp [new file with mode: 0644]