langchain_community.llms.vertexai
.acompletion_with_retry¶
- async langchain_community.llms.vertexai.acompletion_with_retry(llm: VertexAI, prompt: str, is_gemini: bool = False, run_manager: Optional[AsyncCallbackManagerForLLMRun] = None, **kwargs: Any) Any [source]¶
使用tenacity重试完成调用。
- 参数
llm (VertexAI) –
prompt (str) –
is_gemini (bool) –
run_manager (Optional[AsyncCallbackManagerForLLMRun]) –
kwargs (Any) –
- 返回类型
Any