1
0
Fork 0
GPT4FREE/openai_rev/forefront
2023-04-27 22:23:38 -04:00
..
__init__.py added theb to openai_rev module 2023-04-28 02:58:47 +05:30
mail.py added main module for accessing all services 2023-04-28 00:40:43 +05:30
models.py added main module for accessing all services 2023-04-28 00:40:43 +05:30
README.md added main module for accessing all services 2023-04-28 00:40:43 +05:30

Example: forefront (use like openai pypi package)


from openai_rev import forefront

# create an account
token = forefront.Account.create(logging=True)
print(token)

# get a response
for response in forefront.StreamingCompletion.create(token=token,
                                                     prompt='hello world', model='gpt-4'):
    print(response.completion.choices[0].text, end='')