From 98369fba225da109834369f712248d638a44dab6 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 20 Apr 2024 22:53:00 -0500 Subject: [PATCH] fix --- backend/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/main.py b/backend/main.py index 4b1809a25..8b5fd76bc 100644 --- a/backend/main.py +++ b/backend/main.py @@ -117,8 +117,8 @@ class RAGMiddleware(BaseHTTPMiddleware): rag_app.state.RAG_EMBEDDING_ENGINE, rag_app.state.RAG_EMBEDDING_MODEL, rag_app.state.sentence_transformer_ef, - rag_app.state.RAG_OPENAI_API_KEY, - rag_app.state.RAG_OPENAI_API_BASE_URL, + rag_app.state.OPENAI_API_KEY, + rag_app.state.OPENAI_API_BASE_URL, ) del data["docs"]