# 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/98e3d038d365eebd6dabcf8c4d94072580f7401d/libs/cohere/langchain_cohere/llms.py#L37)