LangChain
Core
Community
Experimental
exa
google-genai
nvidia-trt
openai
together
robocorp
nvidia-ai-endpoints
anthropic
google-vertexai
mistralai
Partner libs
exa
google-genai
nvidia-trt
openai
together
robocorp
nvidia-ai-endpoints
anthropic
google-vertexai
mistralai
Docs
Toggle Menu
Prev
Up
Next
langchain_community.llms.tongyi
.generate_with_retry
generate_with_retry()
langchain_community.llms.tongyi
.generate_with_retry
¶
langchain_community.llms.tongyi.
generate_with_retry
(
llm
:
Tongyi
,
**
kwargs
:
Any
)
→
Any
[source]
¶
Use tenacity to retry the completion call.