mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -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
|
||||
url = "http://localhost:1337/v1/chat/completions"
|
||||
body = {
|
||||
"model": "gpt-3.5-turbo-16k",
|
||||
"model": "gpt-3.5-turbo",
|
||||
"stream": False,
|
||||
"messages": [
|
||||
{"role": "assistant", "content": "What can you do?"}
|
||||
|
|
@ -66,4 +66,4 @@ for choice in json_response:
|
|||
print(choice.get('message', {}).get('content', ''))
|
||||
```
|
||||
|
||||
[Return to Home](/)
|
||||
[Return to Home](/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue