Toggle Menu
Prev Up Next

# `langchain_community.embeddings.premai`.embed_with_retry

langchain_community.embeddings.premai.embed_with_retry(embedder: PremAIEmbeddings, model: str, project_id: int, input: Union[str, List[str]]) → Any

  Using tenacity for retry in embedding calls

  Parameters

    - embedder (PremAIEmbeddings) –

    - model (str) –

    - project_id (int) –

    - input (Union[str, List[str]]) –

  Return type

    Any