chat_with_retry#

langchain_community.chat_models.premai.chat_with_retry(llm: ChatPremAI, project_id: int, messages: List[dict], stream: bool = False, run_manager: CallbackManagerForLLMRun | None = None, **kwargs: Any) Any[source]#

在完成调用中使用tenacity进行重试

Parameters:
Return type:

任何