add embedding max retries (#699)

This commit is contained in:
Jyong authored and GitHub committed 2023-07-31 23:28:37 +08:00
1 parent c48ec1334e
commit fa73aa8dbf
1 file changed
+1
+1
View File
@@ -22,6 +22,7 @@ class IndexBuilder:
)
embeddings = CacheEmbedding(OpenAIEmbeddings(
max_retries=1,
**model_credentials
))