Find answers from the community

Updated 3 months ago

Did you ever get this working? I am

Did you ever get this working? I am trying to use LiteLLM according to the examples in the documentation and getting an error with "import litellm" in the base utils code.
L
D
7 comments
it's a bug with the import I guess, needs a PR to fix
wait actually
it works fine for me
just need to run pip install litellm
probably the code should be raising a more informative error if its not installed, but not a huge deal
That makes sense, I should have tried that first, I wasn't sure if litellm had to be installed separately or was installed along with llama-index.
in general, to keep dependencies sane to manage, llama-index will not install any 3rd party integration automatically
Add a reply
Sign up and join the conversation on Discord