From 47bf93d291ae577ec3ce17af8b8f820a9a02a33e Mon Sep 17 00:00:00 2001 From: robbyriverside Date: Thu, 18 Jul 2024 23:36:54 -0500 Subject: [PATCH] Update Memory.md (#728) The memory documentation left me with a lot of questions. After I went through the code to find an answer. I added this paragraph to explain what I found. Hope this is helpful. --- docs/core-concepts/Memory.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/core-concepts/Memory.md b/docs/core-concepts/Memory.md index 0d1d3a67dd..889e860bd9 100644 --- a/docs/core-concepts/Memory.md +++ b/docs/core-concepts/Memory.md @@ -29,6 +29,11 @@ description: Leveraging memory systems in the crewAI framework to enhance agent When configuring a crew, you can enable and customize each memory component to suit the crew's objectives and the nature of tasks it will perform. By default, the memory system is disabled, and you can ensure it is active by setting `memory=True` in the crew configuration. The memory will use OpenAI Embeddings by default, but you can change it by setting `embedder` to a different model. +The 'embedder' only applies to **Short-Term Memory** which uses Chroma for RAG using EmbedChain package. +The **Long-Term Memory** uses SQLLite3 to store task results. Currently, there is no way to override these storage implementations. +The data storage files are saved into a platform specific location found using the appdirs package +and the name of the project which can be overridden using the **CREWAI_STORAGE_DIR** environment variable. + ### Example: Configuring Memory for a Crew ```python @@ -200,4 +205,4 @@ crewai reset_memories [OPTIONS] - **Improved Problem Solving:** Access to a rich memory store aids agents in making more informed decisions, drawing on past learnings and contextual insights. ## Getting Started -Integrating crewAI's memory system into your projects is straightforward. By leveraging the provided memory components and configurations, you can quickly empower your agents with the ability to remember, reason, and learn from their interactions, unlocking new levels of intelligence and capability. \ No newline at end of file +Integrating crewAI's memory system into your projects is straightforward. By leveraging the provided memory components and configurations, you can quickly empower your agents with the ability to remember, reason, and learn from their interactions, unlocking new levels of intelligence and capability.