Comments (6)
Hi @Omotade-MY ,
Thanks for noting this.
This is likely due to an older version of llmx.
I'll update the required version of llmx in the lida repo and update here.
from lida.
Alright
I will wait for the update
from lida.
Hi,
Please reinstall lida and llmx as follows and retry your code
pip install -U lida llmx
from lida.
Thank you @victordibia! However, after reinstalling and re running. I got the below error.
pip install -U lida llmx
from lida import Manager, TextGenerationConfig, llm
from lida import Manager, TextGenerationConfig , llm
File "/home/adminuser/venv/lib/python3.9/site-packages/lida/init.py", line 1, in
from llmx import TextGenerationConfig, llm, TextGenerator
File "/home/adminuser/venv/lib/python3.9/site-packages/llmx/init.py", line 2, in
from .generators.text.textgen import llm
File "/home/adminuser/venv/lib/python3.9/site-packages/llmx/generators/init.py", line 2, in
from .text.textgen import llm
File "/home/adminuser/venv/lib/python3.9/site-packages/llmx/generators/text/init.py", line 1, in
from .textgen import llm
File "/home/adminuser/venv/lib/python3.9/site-packages/llmx/generators/text/textgen.py", line 2, in
from .openai_textgen import OpenAITextGenerator
File "/home/adminuser/venv/lib/python3.9/site-packages/llmx/generators/text/openai_textgen.py", line 6, in
from openai import AzureOpenAI, OpenAI
ImportError: cannot import name 'AzureOpenAI' from 'openai' (/home/adminuser/venv/lib/python3.9/site-packages/openai/init.py)
from lida.
from lida.
I have done that and it worked
Thanks @victordibia
from lida.
Related Issues (20)
- Can it run in Azure function or Azure WebApp HOT 1
- Have some questions regarding new claude models and the cost per process on LIDA!
- I have tried with lida version 0.0.11 and now i am facing some error with lida 0.0.14
- Plotly Library is not working with LIDA
- Unexpected keyword argument 'base_api' HOT 1
- ValidationError: 1 validation error for Goal visualization str type expected (type=type_error.str)
- Lots of error when runing from sample notebook HOT 2
- Infographer input output
- codellama/CodeLlama-7b-hf
- Generating interactive d3.js charts HOT 1
- Error handling when generating a visualization and repairing it
- How to use LIDA with AWS Bedrock?
- Why "LIDA depends on openAI"? HOT 1
- Lida Summarizer, data type convertion error HOT 2
- Streaming ! ''Does Lida support Streaming of generated content such as goals and summary?"
- How to get or return the output data used to generate the visualization?
- Update Dockerfile to Install Additional Dependencies
- OpenAITextGenerator.__init__() got an unexpected keyword argument 'api_base' HOT 1
- Plotly is not working
- Errors @ docker compose up: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lida.