mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-27 19:04:51 +01:00
Small docs change
This commit is contained in:
parent
331eab81f7
commit
725a8bcf60
|
|
@ -97,7 +97,7 @@ curl http://127.0.0.1:5000/v1/chat/completions \
|
|||
}'
|
||||
```
|
||||
|
||||
For base64-encoded images, just replace the inner "url" value with the base64 string, formatted as `data:image/FORMAT;base64,BASE64_STRING` where FORMAT is the image type (image/png, image/jpeg, image/gif, etc.) and BASE64_STRING is your encoded image.
|
||||
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
|
||||
|
||||
|
|
@ -131,7 +131,7 @@ curl http://127.0.0.1:5000/v1/completions \
|
|||
}'
|
||||
```
|
||||
|
||||
For base64-encoded images, just replace the inner "url" values with the base64 strings, formatted as `data:image/FORMAT;base64,BASE64_STRING` where FORMAT is the image type (image/png, image/jpeg, image/gif, etc.) and BASE64_STRING is your encoded image.
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue