langchain_community.llms.openai.acompletion_with_retry¶

async langchain_community.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.

Parameters
Return type

Any