summaryrefslogtreecommitdiffstats
path: root/docs/client.md
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-02-19 19:34:28 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-02-19 19:34:28 +0100
commit5612ee4c8d9ffbd0ddc958c1a16f588d9994b223 (patch)
tree626701d8b12e4c2e1bfa45dda16e8d69208551a7 /docs/client.md
parentAdd MathJax to GUI #1563, Add model name to GUI #1600 (diff)
downloadgpt4free-index.tar
gpt4free-index.tar.gz
gpt4free-index.tar.bz2
gpt4free-index.tar.lz
gpt4free-index.tar.xz
gpt4free-index.tar.zst
gpt4free-index.zip
Diffstat (limited to '')
-rw-r--r--docs/client.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/client.md b/docs/client.md
index 74a5efec..8e02b581 100644
--- a/docs/client.md
+++ b/docs/client.md
@@ -1,4 +1,4 @@
-### G4F Client API Documentation (Beta Version)
+### G4F - Client API (Beta Version)
#### Introduction
@@ -31,7 +31,7 @@ from g4f.client import Client
from g4f.Provider import BingCreateImages, OpenaiChat, Gemini
client = Client(
- text_provider=OpenaiChat,
+ provider=OpenaiChat,
image_provider=Gemini,
proxies=None
)
@@ -89,5 +89,4 @@ Original / Variant:
[![Original Image](/docs/cat.jpeg)](/docs/client.md)
[![Variant Image](/docs/cat.webp)](/docs/client.md)
-[Return to Documentation Home](/)
-``` \ No newline at end of file
+[Return to Home](/) \ No newline at end of file