add embedding max retries (#699)
This commit is contained in:
parent
c48ec1334e
commit
fa73aa8dbf
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ class IndexBuilder:
|
||||||
)
|
)
|
||||||
|
|
||||||
embeddings = CacheEmbedding(OpenAIEmbeddings(
|
embeddings = CacheEmbedding(OpenAIEmbeddings(
|
||||||
|
max_retries=1,
|
||||||
**model_credentials
|
**model_credentials
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue