langchain.llms.openai.acompletion_with_retry

async langchain.llms.openai.acompletion_with_retry(llm: Union[BaseOpenAI, OpenAIChat], run_manager: Optional[AsyncCallbackManagerForLLMRun] = None, **kwargs: Any) Any[source]

Use tenacity to retry the async completion call.