Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why "LIDA depends on openAI"? #116

Open
alexaios opened this issue Apr 24, 2024 · 1 comment
Open

Why "LIDA depends on openAI"? #116

alexaios opened this issue Apr 24, 2024 · 1 comment

Comments

@alexaios
Copy link

As mentioned in the readme file, "LIDA depends on llmx and openai". Just wanted to understand which part of lida has to use openAI?
According to the following description, if I use other llm models as text generator which will generate summary, goals, code to visualize, and in this approach does LIDA still depends on openAI? Can someone please elaborate?

LIDA uses the [llmx](https://github.com/victordibia/llmx) library as its interface for text generation. llmx supports multiple local models including HuggingFace models. You can use the huggingface models directly (assuming you have a gpu) or connect to an openai compatible local model endpoint e.g. using the excellent [vllm](https://vllm.readthedocs.io/en/latest/) library.
@skyprince999
Copy link

No. LIDA doesnt depend on OpenAI alone. You can use other LLMs as long as they use the OpenAI syntax.

Sample code for using other LLMs is provided in the tutorial notebook.

https://github.com/microsoft/lida/blob/main/notebooks/tutorial.ipynb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants