lida icon indicating copy to clipboard operation
lida copied to clipboard

Openai ChatCompletion not found

Open someshfengde opened this issue 2 years ago • 8 comments

latest openai version 1.1.1 doesn't have openai.ChatCompletion. Need previous version of library or lida has to update the method for using latest documentation

someshfengde avatar Nov 07 '23 10:11 someshfengde

This has been addressed by updating llmx (which lida uses) use previous version of openai library. Please let me know if a fresh install of lida pip install -U lida still shows this error.

victordibia avatar Nov 13 '23 05:11 victordibia

This worked by upgrading llmx to latest. Thanks

Rohit036 avatar Nov 14 '23 16:11 Rohit036

@victordibia Please close this issue

trojrobert avatar Nov 16 '23 11:11 trojrobert

Does running pip install -U lida fix the error for you? It doesnt for me. How can I upgrade llmx

saduri2004 avatar Nov 30 '23 20:11 saduri2004

Does running pip install -U lida fix the error for you? It doesnt for me. How can I upgrade llmx

pip install -U llmx

trojrobert avatar Dec 01 '23 11:12 trojrobert

This has been addressed by updating llmx (which lida uses) use previous version of openai library. Please let me know if a fresh install of lida pip install -U lida still shows this error.

@victordibia ,In our project we are using other libraries that relies on latest openAI along with lida , Since you are using previous version of openai library , we are having issues , consider upgrading llmx to use latest openAI

vignesh-arivazhagan avatar Dec 06 '23 10:12 vignesh-arivazhagan

@victordibia can I take on this task for changing the code so that it'll run on new version ? can you assign it to me?

someshfengde avatar Dec 07 '23 16:12 someshfengde

@victordibia ,In our project we are using other libraries that relies on latest openAI along with lida , Since you are using previous version of openai library , we are having issues , consider upgrading llmx to use latest openAI

@victordibia Raised a PR to fix this issue https://github.com/victordibia/llmx/pull/17

vignesh14052002 avatar Jan 14 '24 11:01 vignesh14052002