summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorxtekky <98614666+xtekky@users.noreply.github.com>2023-08-07 13:20:27 +0200
committerGitHub <noreply@github.com>2023-08-07 13:20:27 +0200
commit8d024192df662d8445265c9a4f5c7bea908fc0a6 (patch)
tree4749eb44df477c790442d912a40b86313e23d39d /README.md
parentupdate image (diff)
parentrefactor: refactor models (diff)
downloadgpt4free-8d024192df662d8445265c9a4f5c7bea908fc0a6.tar
gpt4free-8d024192df662d8445265c9a4f5c7bea908fc0a6.tar.gz
gpt4free-8d024192df662d8445265c9a4f5c7bea908fc0a6.tar.bz2
gpt4free-8d024192df662d8445265c9a4f5c7bea908fc0a6.tar.lz
gpt4free-8d024192df662d8445265c9a4f5c7bea908fc0a6.tar.xz
gpt4free-8d024192df662d8445265c9a4f5c7bea908fc0a6.tar.zst
gpt4free-8d024192df662d8445265c9a4f5c7bea908fc0a6.zip
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index f7cb132b..3436a241 100644
--- a/README.md
+++ b/README.md
@@ -95,7 +95,7 @@ for message in response:
print(message)
# normal response
-response = g4f.ChatCompletion.create(model=g4f.Model.gpt_4, messages=[
+response = g4f.ChatCompletion.create(model=g4f.models.gpt_4, messages=[
{"role": "user", "content": "hi"}]) # alterative model setting
print(response)