mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-02 11:34:35 +01:00
commit
45e2935e87
|
|
@ -97,6 +97,8 @@ curl http://127.0.0.1:5000/v1/chat/completions \
|
|||
}'
|
||||
```
|
||||
|
||||
For base64-encoded images, just replace the inner "url" value with this format: `data:image/FORMAT;base64,BASE64_STRING` where FORMAT is the file type (png, jpeg, gif, etc.) and BASE64_STRING is your base64-encoded image data.
|
||||
|
||||
##### With /v1/completions
|
||||
|
||||
```shell
|
||||
|
|
@ -129,6 +131,8 @@ curl http://127.0.0.1:5000/v1/completions \
|
|||
}'
|
||||
```
|
||||
|
||||
For base64-encoded images, just replace the inner "url" values with this format: `data:image/FORMAT;base64,BASE64_STRING` where FORMAT is the file type (png, jpeg, gif, etc.) and BASE64_STRING is your base64-encoded image data.
|
||||
|
||||
#### SSE streaming
|
||||
|
||||
```shell
|
||||
|
|
|
|||
Loading…
Reference in a new issue