run-llama / llama_index

LlamaIndex is a data framework for your LLM applications
https://docs.llamaindex.ai
MIT License
37.04k stars 5.32k forks source link

[Bug]: Sambanova ModuleNotFoundError: No module named 'llama_index.llms.sambanova' #16520

Open nickakube opened 1 month ago

nickakube commented 1 month ago

Bug Description

I did the following; !pip install llama-index !pip install llama-index-llms-sambanova

Version

latest

Steps to Reproduce

just followed LLM example for sambanova

Relevant Logs/Tracbacks

No response

dosubot[bot] commented 1 month ago

Hey @nickakube! I'm here to help you out with any bugs or questions you have. Let's squash this bug together! If you need assistance, feel free to ask.

To resolve the "ModuleNotFoundError: No module named 'llama_index.llms.sambanova'" error, ensure that the llama-index-llms-sambanova package is installed correctly. Use the following command:

pip install llama-index-llms-sambanova

Verify that the package is installed in the correct Python environment by running:

pip list

Ensure there are no typos in the import statement:

from llama_index.llms.sambanova import Sambaverse

If the package is not listed, try reinstalling it. If it is listed, double-check the import path for any discrepancies [1].

To continue talking to Dosu, mention @dosu.

hherpa commented 1 week ago

the other day, from llama_index.llms.sambanova import SambaNovaCloud was working after pip install llama-index "llama-index-llms-sambanovacloud>=0.3" sseclient-py what happened?

local notebook

google colab

@logan-markewich