|
|
|
@ -1,11 +1,10 @@
|
|
|
|
|
from typing import Any, Dict, List
|
|
|
|
|
# from pydantic import Field
|
|
|
|
|
|
|
|
|
|
from swarms.agents.memory.base_memory import BaseChatMemory, get_prompt_input_key
|
|
|
|
|
from swarms.agents.memory.base import VectorStoreRetriever
|
|
|
|
|
|
|
|
|
|
class AgentMemory(BaseChatMemory):
|
|
|
|
|
retriever: VectorStoreRetriever = Field(exclude=True)
|
|
|
|
|
retriever: VectorStoreRetriever
|
|
|
|
|
"""VectorStoreRetriever object to connect to."""
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|