# completion_with_retry

> **Function** in `langchain_cohere`

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

Use tenacity to retry the completion call.

## Signature

```python
completion_with_retry(
    llm: Cohere,
    **kwargs: Any = {},
) -> Any
```

---

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