add embedding max retries (#699)

This commit is contained in:
Jyong
2023-07-31 23:28:37 +08:00
committed by GitHub
parent c48ec1334e
commit fa73aa8dbf

View File

@@ -22,6 +22,7 @@ class IndexBuilder:
)
embeddings = CacheEmbedding(OpenAIEmbeddings(
max_retries=1,
**model_credentials
))