mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 16:59:42 +00:00
formatting
This commit is contained in:
parent
3fcdca2f28
commit
b242460874
@ -989,7 +989,10 @@ RAG_EMBEDDING_MODEL_TRUST_REMOTE_CODE = (
|
||||
RAG_EMBEDDING_BATCH_SIZE = PersistentConfig(
|
||||
"RAG_EMBEDDING_BATCH_SIZE",
|
||||
"rag.embedding_batch_size",
|
||||
int(os.environ.get("RAG_EMBEDDING_BATCH_SIZE") or os.environ.get("RAG_EMBEDDING_OPENAI_BATCH_SIZE", "1"))
|
||||
int(
|
||||
os.environ.get("RAG_EMBEDDING_BATCH_SIZE")
|
||||
or os.environ.get("RAG_EMBEDDING_OPENAI_BATCH_SIZE", "1")
|
||||
),
|
||||
)
|
||||
|
||||
RAG_RERANKING_MODEL = PersistentConfig(
|
||||
|
Loading…
Reference in New Issue
Block a user