aboutsummaryrefslogtreecommitdiff
path: root/apps/docs/api-reference/endpoints/memory-management
diff options
context:
space:
mode:
Diffstat (limited to 'apps/docs/api-reference/endpoints/memory-management')
-rw-r--r--apps/docs/api-reference/endpoints/memory-management/delete-delete.mdx3
-rw-r--r--apps/docs/api-reference/endpoints/memory-management/post-add.mdx59
-rw-r--r--apps/docs/api-reference/endpoints/memory-management/put-update.mdx7
3 files changed, 0 insertions, 69 deletions
diff --git a/apps/docs/api-reference/endpoints/memory-management/delete-delete.mdx b/apps/docs/api-reference/endpoints/memory-management/delete-delete.mdx
deleted file mode 100644
index 57ba0ea4..00000000
--- a/apps/docs/api-reference/endpoints/memory-management/delete-delete.mdx
+++ /dev/null
@@ -1,3 +0,0 @@
----
-openapi: delete /delete/{id}
---- \ No newline at end of file
diff --git a/apps/docs/api-reference/endpoints/memory-management/post-add.mdx b/apps/docs/api-reference/endpoints/memory-management/post-add.mdx
deleted file mode 100644
index dd03dbe4..00000000
--- a/apps/docs/api-reference/endpoints/memory-management/post-add.mdx
+++ /dev/null
@@ -1,59 +0,0 @@
----
-openapi: post /add
----
-
-Add a new memory with content and metadata.
-
-Fields:
-
-`content`: string
-
-`id`: string
-
-`metadata`: Record
-
-The `content` can be of the following types:
-
-- note \/ Markdown
-
- - If it is a markdown, all the images inside `![]` image tags will automatically be parsed.
-
-- pdf
-
-- tweet
-
-- google_doc
-
-- notion_doc
-
-- webpage URL
-
- - Images and other content is also intelligently parsed in case of a webpage.
-
-
-The metadata provided is a JSON object.
-
-for eg.
-
-``` json
-{
- "classId": "21412",
- "year": "fifth"
-}
-
- ```
-
-If you wish to do exact searches, please use strings. But if you want to search in a range (time, numbers, prices), you can use numbers too.
-
-``` json
-{
- "price": 1250
-}
-
- ```
-
-More about \[metadata filtering here\]([https://docs.supermemory.ai/essentials/metadata-filtering](https://docs.supermemory.ai/essentials/metadata-filtering))
-
-The `id` is optional. If provided, supermemory will store the same ID as your internal database. This can help for retrieval purposes.
-
-If the `id` already exists, supermemory will update it instead. \ No newline at end of file
diff --git a/apps/docs/api-reference/endpoints/memory-management/put-update.mdx b/apps/docs/api-reference/endpoints/memory-management/put-update.mdx
deleted file mode 100644
index cd8b408c..00000000
--- a/apps/docs/api-reference/endpoints/memory-management/put-update.mdx
+++ /dev/null
@@ -1,7 +0,0 @@
----
-openapi: put /update/{id}
----
-
-Update an existing memory.
-Please note that all existing metadata will be replaced with the new ones.
-You can also use the \/add endpoint along with the ID specified. \ No newline at end of file