GoogleCloudPlatform / GoogleCloudPlatform/generative-ai
[Bug]: MemoryBank with Crewai example not working
- Dominant language
- Jupyter Notebook
- Stars
- 17.7k
- Forks
- 4.5k
- Avg merge
- 12h 38m
- Merged PRs (30d)
- 42
Description
### File Name
generative-ai/blob/main/gemini/agent-engine/memory/get_started_with_memory_bank_crewai.ipynb
### What happened?
while trying out crewai example with memory bank
https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/agent-engine/memory/get_started_with_memory_bank_crewai.ipynb
got below error ..any thoughts on how to fix
[/usr/local/lib/python3.11/dist-packages/crewai/memory/contextual/contextual_memory.py](https://localhost:8080/#) in (.0)
114
115 formatted_memories = "\n".join(
--> 116 f"- {result['context']}" for result in external_memories
117 )
118 return f"External memories:\n{formatted_memories}"
KeyError: 'context'
### Relevant log output
```shell
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.