embed_with_retry#

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

Using tenacity for retry in embedding calls

Parameters:
  • embedder (PremAIEmbeddings)

  • model (str)

  • project_id (int)

  • input (str | List[str])

Return type:

Any