# acompletion_with_retry

> **Function** in `langchain_cohere`

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

Use tenacity to retry the completion call.

## Signature

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

---

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