langchain_community.utilities.vertexai.create_retry_decorator¶
langchain_community.utilities.vertexai.create_retry_decorator(llm: BaseLLM, *, max_retries: int = 1, run_manager: Optional[Union[AsyncCallbackManagerForLLMRun, CallbackManagerForLLMRun]] = None) → Callable[[Any], Any][source]¶
Creates a retry decorator for Vertex / Palm LLMs.