# embed_with_retry

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/embeddings/minimax/embed_with_retry)

Use tenacity to retry the completion call.

## Signature

```python
embed_with_retry(
    embeddings: MiniMaxEmbeddings,
    *args: Any = (),
    **kwargs: Any = {},
) -> Any
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/7c10a5fa327f6aaaf7c932822a9e5d144891406e/libs/community/langchain_community/embeddings/minimax.py#L36)