Open gaotaogaotao opened 1 month ago
Hi, thanks for your interest. You can simply save your openai api key in ./_OAI_KEY.txt
.
Alternatively, you can assign the key openai.api_key = key
as implemented here - https://github.com/j-min/DSG/blob/main/dsg/openai_utils.py#L4-L9
Hi, thanks for your interest. You can simply save your openai api key in
./_OAI_KEY.txt
. Alternatively, you can assign the keyopenai.api_key = key
as implemented here - https://github.com/j-min/DSG/blob/main/dsg/openai_utils.py#L4-L9 thank you
hi, I show 'FileNotFoundError: [Errno 2] No such file or directory: './_OAI_KEY.txt'' when trying to use 'ti2_eval_example.ipynb '. How do I make my own '_OAI_KEY.txt'? could you help me,pleases.