completion_with_retry#

langchain_community.llms.cohere.completion_with_retry(llm: Cohere, **kwargs: Any) Any[source]#

Use tenacity to retry the completion call.

Parameters:
  • llm (Cohere) –

  • kwargs (Any) –

Return type:

Any