acompletion_with_retry#
- async langchain_community.llms.vertexai.acompletion_with_retry(llm: VertexAI, prompt: str, is_gemini: bool = False, run_manager: AsyncCallbackManagerForLLMRun | None = None, **kwargs: Any) Any [source]#
Use tenacity to retry the completion call.
- Parameters:
llm (VertexAI) –
prompt (str) –
is_gemini (bool) –
run_manager (AsyncCallbackManagerForLLMRun | None) –
kwargs (Any) –
- Return type:
Any