langchain.llms.tongyi.generate_with_retry¶

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

Use tenacity to retry the completion call.