github xtekky/gpt4free 0.1.3.5
g4f v-0.1.3.5

latest releases: 0.3.3.3, 0.3.3.2, 0.3.3.1...
13 months ago

pypi: https://pypi.org/project/g4f/0.1.3.5

pip install -U g4f

Stable GPT-4 with 3 providers !!

import g4f

response = g4f.ChatCompletion.create(model="gpt-4", stream=True,
    messages=[{"role": "user", "content": "If there are 10 birds on a tree and I shoot one, how many are left"}])
gpt_4 = Model(
    name          = 'gpt-4',
    base_provider = 'openai',
    best_provider = RetryProvider([
        Aivvm, Myshell, AItianhuSpace,
    ])
)

What's Changed

Full Changelog: 0.0.3.4...0.1.3.5

Don't miss a new gpt4free release

NewReleases is sending notifications on new releases.