Skip to content

Instantly share code, notes, and snippets.

View Leumastai's full-sized avatar
Working from home

Samuel Taiwo Leumastai

Working from home
View GitHub Profile
neubig /
Last active February 19, 2024 17:55
A simple script to get results from the OpenAI Asynchronous API
# You can find an updated, more robust and feature-rich implementation
# in Zeno Build
# - Zeno Build:
# - Implementation:
import openai
import asyncio
from typing import Any