langchain_community.llms.google_palm.completion_with_retry¶

langchain_community.llms.google_palm.completion_with_retry(llm: GooglePalm, prompt: Union[PromptValue, str, Sequence[BaseMessage]], is_gemini: bool = False, stream: bool = False, run_manager: Optional[CallbackManagerForLLMRun] = None, **kwargs: Any) Any[source]¶

Use tenacity to retry the completion call.