diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2024-11-15 11:18:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 11:18:56 +0100 |
commit | f65ebd98518bc42bd83a9205f3eab9cb06de566a (patch) | |
tree | 82ceabb9503acd0e1301b6eb7e20493cc18f3672 /docs/interference-api.md | |
parent | FIX: fix the url in the markdown output (md compliance), and the chunk/ImageResponse to str ! (#2353) (diff) | |
parent | quick fix for Conflicts (diff) | |
download | gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.tar gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.tar.gz gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.tar.bz2 gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.tar.lz gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.tar.xz gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.tar.zst gpt4free-f65ebd98518bc42bd83a9205f3eab9cb06de566a.zip |
Diffstat (limited to 'docs/interference-api.md')
-rw-r--r-- | docs/interference-api.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/interference-api.md b/docs/interference-api.md index b8e38fae..a6999345 100644 --- a/docs/interference-api.md +++ b/docs/interference-api.md @@ -68,7 +68,7 @@ curl -X POST "http://localhost:1337/v1/chat/completions" \ "content": "Hello" } ], - "model": "gpt-3.5-turbo" + "model": "gpt-4o-mini" }' ``` @@ -108,7 +108,7 @@ client = OpenAI( ) response = client.chat.completions.create( - model="gpt-3.5-turbo", + model="gpt-4o-mini", messages=[{"role": "user", "content": "Write a poem about a tree"}], stream=True, ) @@ -135,7 +135,7 @@ import requests url = "http://localhost:1337/v1/chat/completions" body = { - "model": "gpt-3.5-turbo", + "model": "gpt-4o-mini", "stream": False, "messages": [ {"role": "assistant", "content": "What can you do?"} |