completion_with_retry#

langchain_community.llms.vertexai.completion_with_retry(
llm: VertexAI,
prompt: List[str | 'Image'],
stream: bool = False,
is_gemini: bool = False,
run_manager: CallbackManagerForLLMRun | None = None,
**kwargs: Any,
) Any[source]#

Use tenacity to retry the completion call.

Parameters:
Return type:

Any