extensions/api: models api for blocking_api (updated) (#2539)

This commit is contained in:
matatonic 2023-06-08 10:34:36 -04:00 committed by GitHub
parent 084b006cfe
commit 7be6fe126b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 256 additions and 2 deletions

View file

@ -7,7 +7,7 @@ HOST = 'localhost:5000'
URI = f'http://{HOST}/api/v1/chat'
# For reverse-proxied streaming, the remote will likely host with ssl - https://
# URI = 'https://your-uri-here.trycloudflare.com/api/v1/generate'
# URI = 'https://your-uri-here.trycloudflare.com/api/v1/chat'
def run(user_input, history):