# acompletion_with_retry

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/llms/cohere/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-community/blob/d5ea8358933260ad48dd31f7f8076555c7b4885a/libs/community/langchain_community/llms/cohere.py#L62)