-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[Bug]: Salesforce Integration not working #11102
Comments
🤖 Hey there @Vigneshgateai! 👋 I'm Dosu, a bot here to lend a hand with bugs, answer your questions, and guide you towards becoming a stellar contributor while we wait for a human maintainer to swing by. I'm diving into your issue about the Salesforce integration not working and will get back to you with a solution soon. Hang tight! 🛠️😊 |
\r\n from llama_hub.tools.salesforce import SalesforceToolSpec\r\n File "C:\Users\conve\AppData\Local\Programs\Python\Python312\Lib\site-packages\llama_hub\tools\salesforce\init.py", line 2, in \r\n from llama_hub.tools.salesforce.base import (\r\n File "C:\Users\conve\AppData\Local\Programs\Python\Python312\Lib\site-packages\llama_hub\tools\salesforce\base.py", line 1, in \r\n from llama_index.tools.tool_spec.base import BaseToolSpec\r\nModuleNotFoundError: No module named 'llama_index.tools'\r\n", |
🤖 Based on the error message you provided, it seems like Python is unable to find the
import sys
print(sys.path) If the directory containing the sys.path.append('/path/to/llama_index') Replace If none of the above solutions work, it might be helpful to look at similar issues that have been solved in the LlamaIndex repository:
These issues suggest that creating a fresh virtual environment and reinstalling the necessary packages might resolve the issue. Here's how you can do it: python -m venv venv
source venv/bin/activate
pip install llama-index llama-index-tools-code-interpreter Please try these solutions and let me know if the issue persists. Sources
|
@Vigneshgateai llama_hub as a package is deprecated as of v0.10.x You can install it with
|
Bug Description
No tools folder available in the directory.
Newly added :
from llama_index.agent.openai.base import OpenAIAgent
from llama_index.llms.openai.base import OpenAI
Version
latest
Steps to Reproduce
Install the Package - pip install llama-index llama-hub simple-salesforce opeanai
Create a python file in your editor
Copy the example (Provided by Llama index -> Salesforce)
Run it.
Relevant Logs/Tracbacks
No response
The text was updated successfully, but these errors were encountered: