An async GPT-3 API wrapper written in python
pip install git+https://github.com/kajdev/async-openai
The wrapper is pretty simple at the moment.
from os import getenv
import openai
import asyncio
client = openai.Client(getenv('token'))
async def main():
print(await client.complete("What is the capital of Italy?"))
if __name__ == "__main__":
asyncio.run(main())