generate_with_retry#

langchain_community.llms.tongyi.generate_with_retry(llm: Tongyi, **kwargs: Any) Any[source]#

Use tenacity to retry the completion call.

Parameters:
  • llm (Tongyi) –

  • kwargs (Any) –

Return type:

Any