You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
res = client.delete_memory(user_ids=user_ids, memory_ids=memory_ids)
190
-
191
-
print(f"result: {res}")
192
-
```
193
-
194
-
- This API is used to add feedback to current session messages, allowing MemOS to correct memories based on user feedback.
195
-
```python
196
-
user_id ="memos_user_123"
197
-
conversation_id ="memos_feedback_conv"
198
-
feedback_content ="No, let's change it now to a meal allowance of 150 yuan per day and a lodging subsidy of 700 yuan per day for first-tier cities; for second- and third-tier cities, it remains the same as before."
2. Configure `docker/.env.example` and copy to `MemOS/.env`
232
192
- The `OPENAI_API_KEY`,`MOS_EMBEDDER_API_KEY`,`MEMRADER_API_KEY` and others can be applied for through [`BaiLian`](https://bailian.console.aliyun.com/?spm=a2c4g.11186623.0.0.2f2165b08fRk4l&tab=api#/api).
233
193
- Fill in the corresponding configuration in the `MemOS/.env` file.
For detailed integration steps, see the [`API Reference`](https://docs.openmem.net/open_source/getting_started/rest_api_server/#run-locally).
196
+
- Launch via Docker
197
+
###### Tips: Please ensure that Docker Compose is installed successfully and that you have navigated to the docker directory (via `cd docker`) before executing the following command.
198
+
```bash
199
+
# Enter docker directory
200
+
docker compose up
201
+
```
202
+
##### If you prefer to deploy using Docker, please refer to the [`Docker Reference`](https://docs.openmem.net/open_source/getting_started/rest_api_server/#method-1-docker-use-repository-dependency-package-imagestart-recommended-use).
203
+
204
+
- Launch via the uvicorn command line interface (CLI)
205
+
###### Tips: Please ensure that Neo4j and Qdrant are running before executing the following command.
##### For detailed integration steps, see the [`CLI Reference`](https://docs.openmem.net/open_source/getting_started/rest_api_server/#method-3client-install-with-CLI).
240
210
241
-
#### If you prefer to deploy using Docker, please refer to the [`Docker Reference`](https://docs.openmem.net/open_source/getting_started/rest_api_server/#method-1-docker-use-repository-dependency-package-imagestart-recommended-use).
0 commit comments