mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
add embedding max retries (#699)
This commit is contained in:
parent
c48ec1334e
commit
fa73aa8dbf
|
@ -22,6 +22,7 @@ class IndexBuilder:
|
|||
)
|
||||
|
||||
embeddings = CacheEmbedding(OpenAIEmbeddings(
|
||||
max_retries=1,
|
||||
**model_credentials
|
||||
))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user