langchain_community.llms.vertexai.completion_with_retryΒΆ

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

Use tenacity to retry the completion call.

Parameters
  • llm (VertexAI) –

  • prompt (List[Union[str, 'Image']]) –

  • stream (bool) –

  • is_gemini (bool) –

  • run_manager (Optional[CallbackManagerForLLMRun]) –

  • kwargs (Any) –

Return type

Any