File size: 381 Bytes
515cb6c
 
 
 
 
 
636588b
 
5532825
636588b
d987e13
636588b
 
 
 
5532825
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# /// script
# requires-python = ">=3.11,<3.12"
# dependencies = [
#     "synthetic-dataset-generator",
# ]
# ///
import os

from synthetic_dataset_generator import launch

assert os.getenv("HF_TOKEN")  # push the data to huggingface
os.environ["BASE_URL"] = "https://api.openai.com/v1/"
os.environ["API_KEY"] = os.getenv("OPENAI_API_KEY")
os.environ["MODEL"] = "gpt-4o"

launch()