Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,8 @@ from langchain.vectorstores import Chroma
|
|
14 |
from dotenv import load_dotenv, find_dotenv
|
15 |
_ = load_dotenv(find_dotenv())
|
16 |
|
|
|
|
|
17 |
#openai.api_key = os.environ["OPENAI_API_KEY"]
|
18 |
|
19 |
template = """Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up
|
|
|
14 |
from dotenv import load_dotenv, find_dotenv
|
15 |
_ = load_dotenv(find_dotenv())
|
16 |
|
17 |
+
global vectordb
|
18 |
+
|
19 |
#openai.api_key = os.environ["OPENAI_API_KEY"]
|
20 |
|
21 |
template = """Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up
|