Files
t6_mem0/docs/api-reference/pipeline/delete.mdx
2024-01-12 11:10:25 +05:30

19 lines
330 B
Plaintext

---
title: 🗑 delete
---
`delete_session_chat_history()` method allows you to delete all previous messages in a chat history.
## Usage
```python
from embedchain import App
app = App()
app.add("https://www.forbes.com/profile/elon-musk")
app.chat("What is the net worth of Elon Musk?")
app.delete_session_chat_history()
```