# CohereCitation

> **Class** in `langchain_cohere`

📖 [View in docs](https://reference.langchain.com/python/langchain-cohere/common/CohereCitation)

Cohere has fine-grained citations that specify the exact part of text.

.. deprecated:: 0.6.0
    Only used by the deprecated ``create_cohere_react_agent``.

More info at https://docs.cohere.com/docs/documents-and-citations

## Signature

```python
CohereCitation(
    self,
    start: int,
    end: int,
    text: str,
    documents: List[Mapping[str, Any]],
    document_ids: Set[str],
)
```

## Constructors

```python
__init__(
    self,
    start: int,
    end: int,
    text: str,
    documents: List[Mapping[str, Any]],
    document_ids: Set[str],
) -> None
```

| Name | Type |
|------|------|
| `start` | `int` |
| `end` | `int` |
| `text` | `str` |
| `documents` | `List[Mapping[str, Any]]` |
| `document_ids` | `Set[str]` |


## Properties

- `start`
- `end`
- `text`
- `documents`
- `document_ids`

## ⚠️ Deprecated

Deprecated since version 0.6.0. Only used by the deprecated create_cohere_react_agent. Will be removed alongside the react_multi_hop module. Will be removed in version 1.0.0.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-cohere/blob/0e86adc8d140bf6e3da49836173bd5a50a194b63/libs/cohere/langchain_cohere/common.py#L7)