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]ΒΆ
Use tenacity to retry the completion call.
- Parameters
llm (VertexAI) β
prompt (str) β
is_gemini (bool) β
run_manager (Optional[AsyncCallbackManagerForLLMRun]) β
kwargs (Any) β
- Return type
Any