acompletion_with_retry#
- async langchain_community.llms.openai.acompletion_with_retry(llm: BaseOpenAI | OpenAIChat, run_manager: AsyncCallbackManagerForLLMRun | None = None, **kwargs: Any) Any [source]#
Use tenacity to retry the async completion call.
- Parameters:
llm (BaseOpenAI | OpenAIChat)
run_manager (AsyncCallbackManagerForLLMRun | None)
kwargs (Any)
- Return type:
Any