gladcolor / LLM-Geo

GNU General Public License v3.0
253 stars 47 forks source link

New major release of the openAI SDK #5

Closed JeromeVigne closed 6 months ago

JeromeVigne commented 7 months ago

Hi,

OpenAI has released a new major version of their SDK: LINK.

I migrated my local project to openai 1.10.0. If of interest, happy to create a new branch and submit, or let me know how to best contribute.

gladcolor commented 7 months ago

Hello @JeromeVigne ! Thanks for your reminder! It would be great if you could contribute to the SDK migration.

JeromeVigne commented 7 months ago

Hi, @gladcolor: You can copy from this commit: https://github.com/JeromeVigne/LLM-geo/commit/46ce54e2e40dc32fb280d4d1bd589a1c5be52c79

Can you cherry pick the files: helper.py, LLM_Geo_kernel.py, LLM_Geo_API4.ipynb and requirements.txt ?

JeromeVigne commented 7 months ago

Or let me know what is the easiest way to contribute, if you add me as contributor I can create a new branch and commit in this repo

gladcolor commented 7 months ago

Thanks, @JeromeVigne ! That is a bit. I am traveling and will update and test the code next week.

gladcolor commented 7 months ago

@JeromeVigne Updated! Note dict.key on my side does not work, so I use dict["key"].