Last updated 15 days ago
Was this helpful?
curl -L \ --url '/memory/collections'
{ "status": "text", "message": "text", "data": {} }
curl -L \ --url '/memory/collections/{collection_name}'
curl -L \ --request POST \ --url '/memory' \ --header 'Content-Type: application/json' \ --data '{ "collection_name": "text", "text": "text", "metadata": {} }'
curl -L \ --url '/memory' \ --header 'Content-Type: application/json' \ --data '{ "collection_name": "text", "query": "text", "top_k": 1 }'
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" }'