Spaces:
Runtime error
Runtime error
vishalj0501
commited on
Commit
•
9ea2c29
1
Parent(s):
2b4408c
edit req.txt and app.py
Browse files- .DS_Store +0 -0
- app.py +1 -1
- requirements.txt +1 -0
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
app.py
CHANGED
@@ -58,7 +58,7 @@ def get_response(instruction, query):
|
|
58 |
|
59 |
results = vectorstore.similarity_search(query, k=5)
|
60 |
llm = ChatOpenAI(
|
61 |
-
openai_api_key=
|
62 |
model_name='gpt-3.5-turbo',
|
63 |
temperature=0.0,
|
64 |
request_timeout=1000
|
|
|
58 |
|
59 |
results = vectorstore.similarity_search(query, k=5)
|
60 |
llm = ChatOpenAI(
|
61 |
+
openai_api_key=gpt_api_key,
|
62 |
model_name='gpt-3.5-turbo',
|
63 |
temperature=0.0,
|
64 |
request_timeout=1000
|
requirements.txt
CHANGED
@@ -2,3 +2,4 @@ langchain==0.0.315
|
|
2 |
pinecone_client==2.2.4
|
3 |
python-dotenv==1.0.0
|
4 |
streamlit==1.24.1
|
|
|
|
2 |
pinecone_client==2.2.4
|
3 |
python-dotenv==1.0.0
|
4 |
streamlit==1.24.1
|
5 |
+
openai
|