> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Reset Long Term • AI Agent SDK

> reset_long_term: Clear local LTM DB, plus Chroma, MongoDB, or mem0 if in use.

# reset\_long\_term

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**Memory**](../classes/Memory) class in the [**memory**](../modules/memory) module.

Clear local LTM DB, plus Chroma, MongoDB, or mem0 if in use.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def reset_long_term() -> Any
```

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Uses

* `sqlite3.connect`
* `conn.execute`
* `conn.commit`
* `conn.close`
* `delete_many`
* `reset`

## Used By

* [`Memory.reset_entity_only`](../functions/Memory-reset_entity_only)
* [`Memory.reset_user_memory`](../functions/Memory-reset_user_memory)
* [`Memory.reset_all`](../functions/Memory-reset_all)
* [`Session.clear_memory`](../functions/Session-clear_memory)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/memory/memory.py#L1050">
  `praisonaiagents/memory/memory.py` at line 1050
</Card>
