Last updated 2 days ago
Was this helpful?
/memory
curl -L \ --request POST \ --url '/memory' \ --header 'Content-Type: application/json' \ --data '{ "collection_name": "text", "text": "text", "metadata": {} }'
{ "status": "text", "message": "text", "data": {} }
curl -L \ --url '/memory' \ --header 'Content-Type: application/json' \ --data '{ "collection_name": "text", "query": "text", "top_k": 5 }'
curl -L \ --request PATCH \ --url '/memory' \ --header 'Content-Type: application/json' \ --data '{ "collection_name": "text", "doc_id": "text", "text": "text", "metadata": {} }'
curl -L \ --request DELETE \ --url '/memory' \ --header 'Content-Type: application/json' \ --data '{ "collection_name": "text", "doc_id": "text" }'
/memory/collections
curl -L \ --url '/memory/collections'
/memory/collections/{collection_name}
curl -L \ --url '/memory/collections/{collection_name}'