Unverified Commit fa73aa8d authored by Jyong's avatar Jyong Committed by GitHub

add embedding max retries (#699)

parent c48ec133
...@@ -22,6 +22,7 @@ class IndexBuilder: ...@@ -22,6 +22,7 @@ class IndexBuilder:
) )
embeddings = CacheEmbedding(OpenAIEmbeddings( embeddings = CacheEmbedding(OpenAIEmbeddings(
max_retries=1,
**model_credentials **model_credentials
)) ))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment