completion_with_retry#
- langchain_community.llms.google_palm.completion_with_retry(
- llm: GooglePalm,
- prompt: PromptValue | str | Sequence[BaseMessage | list[str] | tuple[str, str] | str | dict[str, Any]],
- is_gemini: bool = False,
- stream: bool = False,
- run_manager: CallbackManagerForLLMRun | None = None,
- **kwargs: Any,
Use tenacity to retry the completion call.
- Parameters:
llm (GooglePalm)
prompt (PromptValue | str | Sequence[BaseMessage | list[str] | tuple[str, str] | str | dict[str, Any]])
is_gemini (bool)
stream (bool)
run_manager (CallbackManagerForLLMRun | None)
kwargs (Any)
- Return type:
Any