langchain_community.chat_models.openai.acompletion_with_retry¶

async langchain_community.chat_models.openai.acompletion_with_retry(llm: ChatOpenAI, run_manager: Optional[AsyncCallbackManagerForLLMRun] = None, **kwargs: Any) Any[source]¶

Use tenacity to retry the async completion call.

Parameters
Return type

Any