langchain_community.chat_models.yuan2.acompletion_with_retry¶

async langchain_community.chat_models.yuan2.acompletion_with_retry(llm: ChatYuan2, **kwargs: Any) Any[source]¶

Use tenacity to retry the async completion call.

Parameters
  • llm (ChatYuan2) –

  • kwargs (Any) –

Return type

Any