<a id="camel.terminators.base"></a>

<a id="camel.terminators.base.BaseTerminator"></a>

## BaseTerminator

```python
class BaseTerminator(ABC):
```

Base class for terminators.

<a id="camel.terminators.base.BaseTerminator.__init__"></a>

### __init__

```python
def __init__(self, *args, **kwargs):
```

<a id="camel.terminators.base.BaseTerminator.is_terminated"></a>

### is_terminated

```python
def is_terminated(self, *args, **kwargs):
```

<a id="camel.terminators.base.BaseTerminator.reset"></a>

### reset

```python
def reset(self):
```

<a id="camel.terminators.base.ResponseTerminator"></a>

## ResponseTerminator

```python
class ResponseTerminator(BaseTerminator):
```

A terminator that terminates the conversation based on the response.

<a id="camel.terminators.base.ResponseTerminator.is_terminated"></a>

### is_terminated

```python
def is_terminated(self, messages: List[BaseMessage]):
```

<a id="camel.terminators.base.ResponseTerminator.reset"></a>

### reset

```python
def reset(self):
```
