docs/interference.md

This commit is contained in:
kqlio67 2024-10-15 15:08:16 +03:00
parent c6d11e5cef
commit 2bcb45bfbd

View file

@ -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](/)