Commit
·
83ac2ea
1
Parent(s):
bed46bd
midterm prototype
Browse files- .env +0 -9
- app.py +0 -4
- requirements.txt +0 -1
.env
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
OPENAI_API_KEY = "sk-proj-VlBPJdI2pTDAj1ZuTR1CT3BlbkFJdPixzv6JsSYgSdeU6iUL"
|
2 |
-
ANTRHOPIC_API_KEY = "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"
|
3 |
-
SERPER_API_KEY = "e1433dbffb60ed98eb675bf110a3af71075787f7"
|
4 |
-
PINECONE_API_KEY = "02477b08-f824-4cda-accc-1104bd9c2268"
|
5 |
-
LANGCHAIN_API_KEY = "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"
|
6 |
-
LANGCHAIN_TRACING_V2=true
|
7 |
-
LANGCHAIN_ENDPOINT='https://api.smith.langchain.com'
|
8 |
-
TAVILY_API_KEY="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"
|
9 |
-
ZIPCODE_API_KEY="myBqK3rhFoNaVN2TKYWUdLplkZzOwh8uwA1GNqc35LocxwJEU10QohlJMCDbZkIx"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.py
CHANGED
@@ -13,10 +13,6 @@ from langchain.schema.output_parser import StrOutputParser
|
|
13 |
from langchain.schema.runnable import RunnablePassthrough
|
14 |
from uuid import uuid4
|
15 |
|
16 |
-
from dotenv import load_dotenv, find_dotenv
|
17 |
-
|
18 |
-
load_dotenv(find_dotenv())
|
19 |
-
|
20 |
base_rag_prompt_template = """\
|
21 |
Only answer questions that are related to the context provided. DO NOT answer a question if it is unrelated to the context provided. If you do not know the answer, say "I do not know the answer".
|
22 |
|
|
|
13 |
from langchain.schema.runnable import RunnablePassthrough
|
14 |
from uuid import uuid4
|
15 |
|
|
|
|
|
|
|
|
|
16 |
base_rag_prompt_template = """\
|
17 |
Only answer questions that are related to the context provided. DO NOT answer a question if it is unrelated to the context provided. If you do not know the answer, say "I do not know the answer".
|
18 |
|
requirements.txt
CHANGED
@@ -5,5 +5,4 @@ langchain_community
|
|
5 |
langchain_openai
|
6 |
qdrant-client
|
7 |
chainlit
|
8 |
-
python-dotenv
|
9 |
PyMuPDF
|
|
|
5 |
langchain_openai
|
6 |
qdrant-client
|
7 |
chainlit
|
|
|
8 |
PyMuPDF
|