mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-12 21:11:43 +00:00
docs: community docstring updates (#21040)
Added missed docstrings. Updated docstrings to consistent format.
This commit is contained in:
@@ -72,6 +72,15 @@ def create_prem_retry_decorator(
|
||||
*,
|
||||
max_retries: int = 1,
|
||||
) -> Callable[[Any], Any]:
|
||||
"""Create a retry decorator for PremAIEmbeddings.
|
||||
|
||||
Args:
|
||||
embedder (PremAIEmbeddings): The PremAIEmbeddings instance
|
||||
max_retries (int): The maximum number of retries
|
||||
|
||||
Returns:
|
||||
Callable[[Any], Any]: The retry decorator
|
||||
"""
|
||||
import premai.models
|
||||
|
||||
errors = [
|
||||
|
Reference in New Issue
Block a user