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]¶
使用tenacity重试异步完成调用。
- 参数
llm (Union[BaseOpenAI, OpenAIChat]) –
run_manager (Optional[AsyncCallbackManagerForLLMRun]) –
kwargs (Any) –
- 返回类型
Any