# parse_citations

> **Function** in `langchain_cohere`

📖 [View in docs](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/parsing/parse_citations)

Parses a `grounded_generation` (from `parse_actions`) and documents (from
`convert_to_documents`) into a `(generation, CohereCitation list)` tuple.

## Signature

```python
parse_citations(
    grounded_answer: str,
    documents: List[MutableMapping],
) -> Tuple[str, List[CohereCitation]]
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-cohere/blob/24cfdaefd4e3c785f477ccfe491a4226a0dbe88c/libs/cohere/langchain_cohere/react_multi_hop/parsing.py#L172)