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