diff --git a/backend/apps/rag/main.py b/backend/apps/rag/main.py index 7e3844476..25e93110a 100644 --- a/backend/apps/rag/main.py +++ b/backend/apps/rag/main.py @@ -78,7 +78,9 @@ app.state.CHUNK_SIZE = CHUNK_SIZE app.state.CHUNK_OVERLAP = CHUNK_OVERLAP app.state.RAG_TEMPLATE = RAG_TEMPLATE app.state.RAG_EMBEDDING_MODEL = RAG_EMBEDDING_MODEL -app.state.RAG_EMBEDDING_MODEL_PATH = embedding_model_get_path(app.state.RAG_EMBEDDING_MODEL, RAG_EMBEDDING_MODEL_AUTO_UPDATE) +app.state.RAG_EMBEDDING_MODEL_PATH = embedding_model_get_path( + app.state.RAG_EMBEDDING_MODEL, RAG_EMBEDDING_MODEL_AUTO_UPDATE +) app.state.TOP_K = 4 app.state.sentence_transformer_ef = (