lida icon indicating copy to clipboard operation
lida copied to clipboard

'OpenAITextGenerator' is not defined

Open agvaishali opened this issue 2 years ago • 2 comments

Below is my code in colab to use LIDA UI. But I am getting this error: OpenAITextGenerator' is not defined.

!pip install openai !pip install lida os.environ['OPENAI_API_KEY'] = 'abc' !lida ui --port=8080 --docs

agvaishali avatar Dec 18 '23 11:12 agvaishali

I am getting the same error. Any luck with you?

Amit-sood avatar Jan 06 '24 12:01 Amit-sood

Hi,

Thanks for noting this. I just saw there was abug where the latest version of llmx (the library used to make connections to openai) was not installed. I have now updated this and pushed a fix (lida v 0.0.11).

To get the latest version, run.

pip install -U lida 

You can verify you have v0.0.11 and above by running

pip show lida 

This should show Version: 0.0.11

victordibia avatar Jan 06 '24 16:01 victordibia