From 202b0730ffb0a47360b901f0dd007b13a2f59bb2 Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Tue, 15 Oct 2024 13:58:09 +0300 Subject: Updated(docs/client.md) --- docs/client.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs/client.md') diff --git a/docs/client.md b/docs/client.md index 5e6b79ba..e95c510d 100644 --- a/docs/client.md +++ b/docs/client.md @@ -61,8 +61,8 @@ You can use the `ChatCompletions` endpoint to generate text completions as follo ```python from g4f.client import Client -client = Client() +client = Client() response = client.chat.completions.create( model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Say this is a test"}], @@ -77,7 +77,6 @@ Also streaming are supported: from g4f.client import Client client = Client() - stream = client.chat.completions.create( model="gpt-4", messages=[{"role": "user", "content": "Say this is a test"}], -- cgit v1.2.3