text-generation-webui/extensions/api
Andy Salerno 654933c634
New universal API with streaming/blocking endpoints (#990)
Previous title: Add api_streaming extension and update api-example-stream to use it

* Merge with latest main

* Add parameter capturing encoder_repetition_penalty

* Change some defaults, minor fixes

* Add --api, --public-api flags

* remove unneeded/broken comment from blocking API startup. The comment is already correctly emitted in try_start_cloudflared by calling the lambda we pass in.

* Update on_start message for blocking_api, it should say 'non-streaming' and not 'streaming'

* Update the API examples

* Change a comment

* Update README

* Remove the gradio API

* Remove unused import

* Minor change

* Remove unused import

---------

Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com>
2023-04-23 15:52:43 -03:00
..
blocking_api.py New universal API with streaming/blocking endpoints (#990) 2023-04-23 15:52:43 -03:00
requirements.txt New universal API with streaming/blocking endpoints (#990) 2023-04-23 15:52:43 -03:00
script.py New universal API with streaming/blocking endpoints (#990) 2023-04-23 15:52:43 -03:00
streaming_api.py New universal API with streaming/blocking endpoints (#990) 2023-04-23 15:52:43 -03:00
util.py New universal API with streaming/blocking endpoints (#990) 2023-04-23 15:52:43 -03:00