Open SushmitaSahuAI opened 3 months ago
Hi, Try using from autogen.agentchat.contrib import llamaindex_conversable_agent I think the example is not updated i m also facing issues
pls try using from autogen.agentchat.contrib.llamaindex_conversable_agent import LLamaIndexConversableAgent as they have updated the documentation but the examples are still old
I have used from autogen.agentchat.contrib.llamaindex_conversable_agent import LLamaIndexConversableAgent
. But I get this error:
_10 from llama_index.core.agent.runner.base import AgentRunner 11 from llama_index.core.chat_engine.types import AgentChatResponse ---> 12 from llama_index_client import ChatMessage 13 except ImportError as e: 14 logger.fatal("Failed to import llama-index. Try running 'pip install llama-index'")
ModuleNotFoundError: No module named 'llama_indexclient'
What could be the library that contains llama_index_client? Or it has another route in llama_index?
Thanks.
It works if change : from llama_index_client import ChatMessage
To: from llama_index.core.llms import ChatMessage.
If it is an issue about llama_index version, please specify which llama_index does not generate conflict.
Thanks.
Can you provide a sample code of how did you run your Groq llm in Autogen. Very new to this
Describe the bug
I am trying to run the notebook : agentchat_group_chat_with_llamaindex_agents.ipynb i am getting the error ModuleNotFoundError: No module named 'llamaindex_conversable_agent' My env has llama-index 0.10.43 version. Can any please help me with fixing this issue
Steps to reproduce
No response
Model Used
gpt-4
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response