Loading repository data…
Loading repository data…
Just1z / repository
⚡️ Asynchronous framework for ChatGPT API 🤖
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
pip install git+https://github.com/Just1z/asyncgpt
The simplest usage for now:
import asyncio
import asyncgpt
async def main():
bot = asyncgpt.GPT(apikey="YOUR API KEY")
completion = await bot.chat_complete([{"role": "user", "content": "Hello!"}])
print(completion)
if __name__ == "__main__":
asyncio.run(main())
# Hello there! How can I assist you today?
You should get one on the official OpenAI site