summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMIDORIBIN <aquarion123@gmail.com>2023-07-25 02:56:49 +0200
committerMIDORIBIN <aquarion123@gmail.com>2023-07-25 02:56:49 +0200
commit6dd8a5a1f44c2e480f1a7f8751eff321cae0876b (patch)
tree665b9be6f7bfbe89c06a04befe4a3566d602c3aa /README.md
parentMerge pull request #769 from fungamer2-2/main (diff)
downloadgpt4free-6dd8a5a1f44c2e480f1a7f8751eff321cae0876b.tar
gpt4free-6dd8a5a1f44c2e480f1a7f8751eff321cae0876b.tar.gz
gpt4free-6dd8a5a1f44c2e480f1a7f8751eff321cae0876b.tar.bz2
gpt4free-6dd8a5a1f44c2e480f1a7f8751eff321cae0876b.tar.lz
gpt4free-6dd8a5a1f44c2e480f1a7f8751eff321cae0876b.tar.xz
gpt4free-6dd8a5a1f44c2e480f1a7f8751eff321cae0876b.tar.zst
gpt4free-6dd8a5a1f44c2e480f1a7f8751eff321cae0876b.zip
Diffstat (limited to '')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index fb267642..8d71beb6 100644
--- a/README.md
+++ b/README.md
@@ -94,7 +94,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)