Commit 198246f2 authored by jyong's avatar jyong

add embedding max retries

parent c48ec133
......@@ -22,6 +22,7 @@ class IndexBuilder:
)
embeddings = CacheEmbedding(OpenAIEmbeddings(
max_retries=1,
**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