langchain.llms.openai.completion_with_retry

langchain.llms.openai.completion_with_retry(llm: Union[BaseOpenAI, OpenAIChat], run_manager: Optional[CallbackManagerForLLMRun] = None, **kwargs: Any) Any[source]

Use tenacity to retry the completion call.