I found an example of knowledge here:
docs/how-to/mlflow-observability.mdx
content = "Users name is John. He is 30 years old and lives in San Francisco."
string_source = StringKnowledgeSource(
content=content, metadata={"preference": "personal"}
)
crew = Crew(
agents=[city_selector_agent, local_expert_agent],
tasks=[identify_task, gather_task],
verbose=True,
memory=True,
knowledge={
"sources": [string_source],
"metadata": {"preference": "personal"},
},
)
I want to stick with the documentation.
I am getting an error
TypeError: Knowledge.__init__() missing 1 required positional argument: 'collection_name'
Anyone know where to add the ‘collection_name’`
Also, anyone have an example using ollama with knowledge in crew.py kicked off from main.py?