Spaces:
Sleeping
Sleeping
Update query_processing.py
Browse files- query_processing.py +1 -1
query_processing.py
CHANGED
@@ -4,7 +4,7 @@ from langchain.llms import OpenAI
|
|
4 |
from langchain.chains import RetrievalQA
|
5 |
import os
|
6 |
from dotenv import load_dotenv
|
7 |
-
load_dotenv(r'C:\Users\sksha\Desktop\llm-assignment-master\llm-assignment-master\llm-assignment-master_\backend\.env')
|
8 |
openai_api_key = os.environ.get('OPENAI_API_KEY')
|
9 |
def load_qa_chain(collection_name):
|
10 |
# Load the vector store from disk
|
|
|
4 |
from langchain.chains import RetrievalQA
|
5 |
import os
|
6 |
from dotenv import load_dotenv
|
7 |
+
# load_dotenv(r'C:\Users\sksha\Desktop\llm-assignment-master\llm-assignment-master\llm-assignment-master_\backend\.env')
|
8 |
openai_api_key = os.environ.get('OPENAI_API_KEY')
|
9 |
def load_qa_chain(collection_name):
|
10 |
# Load the vector store from disk
|