Open evelynmitchell opened 4 months ago
To solve this issue, we need to update the import statement. The ChromaDB class is not directly importable from the swarms package. Instead, it should be imported from swarms_memory
. Here's how to fix the import:
from swarms import Agent, MajorityVoting
from swarms_memory import ChromaDB
from swarm_models import Anthropic
# Initialize the llm
llm = Anthropic()
you can reference this usage from the swarms/memory/diy_memory.md as well as swarms/agent_with_rag.py