fix conversion

This commit is contained in:
Andreas Feldl 2024-08-18 12:46:47 +02:00
parent 13b0e7d64a
commit 0980066363

View File

@ -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(