completion_with_retry#
- langchain_community.llms.vertexai.completion_with_retry(
- llm: VertexAI,
- prompt: List[str | 'Image'],
- stream: bool = False,
- is_gemini: bool = False,
- run_manager: CallbackManagerForLLMRun | None = None,
- **kwargs: Any,
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