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 [source]ΒΆ
Using tenacity for retry in embedding calls
- Parameters
embedder (PremAIEmbeddings) β
model (str) β
project_id (int) β
input (Union[str, List[str]]) β
- Return type
Any