Files
t6_mem0/docs/api-reference/pipeline/delete.mdx
2023-12-15 17:02:50 +05:30

19 lines
326 B
Plaintext

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