server : add a REST Whisper server example with OAI-like API (#1380)

* Add first draft of server

* Added json support and base funcs for server.cpp

* Add more user input via api-request

also some clean up

* Add reqest params and load post function

Also some general clean up

* Remove unused function

* Add readme

* Add exception handlers

* Update examples/server/server.cpp

* make : add server target

* Add magic curl syntax

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
Felix
2023-11-20 20:40:24 +01:00
committed by GitHub
parent fa19bc4195
commit eff3570f78
9 changed files with 34631 additions and 4 deletions

24596
examples/server/json.hpp Normal file

File diff suppressed because it is too large Load Diff