mirror of
https://github.com/open-webui/open-webui
synced 2024-11-07 00:59:52 +00:00
fix conversion
This commit is contained in:
parent
13b0e7d64a
commit
0980066363
@ -1056,7 +1056,7 @@ RAG_EMBEDDING_MODEL_TRUST_REMOTE_CODE = (
|
|||||||
RAG_EMBEDDING_OPENAI_BATCH_SIZE = PersistentConfig(
|
RAG_EMBEDDING_OPENAI_BATCH_SIZE = PersistentConfig(
|
||||||
"RAG_EMBEDDING_OPENAI_BATCH_SIZE",
|
"RAG_EMBEDDING_OPENAI_BATCH_SIZE",
|
||||||
"rag.embedding_openai_batch_size",
|
"rag.embedding_openai_batch_size",
|
||||||
os.environ.get("RAG_EMBEDDING_OPENAI_BATCH_SIZE", 1),
|
int(os.environ.get("RAG_EMBEDDING_OPENAI_BATCH_SIZE", "1")),
|
||||||
)
|
)
|
||||||
|
|
||||||
RAG_RERANKING_MODEL = PersistentConfig(
|
RAG_RERANKING_MODEL = PersistentConfig(
|
||||||
|
Loading…
Reference in New Issue
Block a user