Add or update a memory
Add or update a memory with any content type (text, url, file, etc.) with metadata
Authorizations
Body
The content to extract and process into a memory. This can be a URL to a website, a PDF, an image, or a video.
Plaintext: Any plaintext format
URL: A URL to a website, PDF, image, or video
We automatically detect the content type from the url's response format.
1
"This is a detailed article about machine learning concepts.."
Optional end user ID this memory belongs to. This is used to group memories by user. You should use the same ID stored in your external system where the user is stored
"user_123"
Optional metadata for the memory. This is used to store additional information about the memory. You can use this to store any additional information you need about the memory. Metadata can be filtered through. Keys must be strings and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects.
{
"source": "web",
"category": "technology",
"tag_1": "ai",
"tag_2": "machine-learning",
"readingTime": 5,
"isPublic": true
}