mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 10:40:43 -08:00
docs/interference.md
This commit is contained in:
parent
c6d11e5cef
commit
2bcb45bfbd
1 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ Send the POST request to /v1/chat/completions with body containing the `model` m
|
||||||
import requests
|
import requests
|
||||||
url = "http://localhost:1337/v1/chat/completions"
|
url = "http://localhost:1337/v1/chat/completions"
|
||||||
body = {
|
body = {
|
||||||
"model": "gpt-3.5-turbo-16k",
|
"model": "gpt-3.5-turbo",
|
||||||
"stream": False,
|
"stream": False,
|
||||||
"messages": [
|
"messages": [
|
||||||
{"role": "assistant", "content": "What can you do?"}
|
{"role": "assistant", "content": "What can you do?"}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue