Semantic Memory
Understanding Semantic Memory
Semantic memory is one of the types of memory an agent has, corresponding to non-salient, fact based memory. This can be any sort of information-based knowledge, such as PDFs, documents, news articles, or just plain text.
Using Semantic Memory
You can add any kind of information, whether plain text, local file path, or remote URL, using the SemanticMemory.ingest method.
The below examples assume the pre-requisite setup for a SwiftAgent
from swiftagent import SwiftAgent
agent = SwiftAgent()Last updated