diff options
Diffstat (limited to '')
-rw-r--r-- | main.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/main.py b/main.py new file mode 100644 index 00000000..4631ac11 --- /dev/null +++ b/main.py @@ -0,0 +1,9 @@ +from g4f.client import Client + +client = Client() +response = client.chat.completions.create( + model="blackboxai", + messages=[{"role": "user", "content": "Hello"}], + # Add any other necessary parameters +) +print(response.choices[0].message.content) |