Spaces:
Sleeping
Sleeping
Update langchain_utils.py
Browse files- langchain_utils.py +6 -0
langchain_utils.py
CHANGED
@@ -12,6 +12,12 @@ retriever = vectorstore.as_retriever(search_kwargs={"k": 2})
|
|
12 |
output_parser = StrOutputParser()
|
13 |
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
|
17 |
# Set up prompts and chains
|
|
|
12 |
output_parser = StrOutputParser()
|
13 |
|
14 |
|
15 |
+
load_dotenv()
|
16 |
+
|
17 |
+
|
18 |
+
|
19 |
+
os.environ["GOOGLE_API_KEY"]=os.getenv("GOOGLE_API_KEY")
|
20 |
+
|
21 |
|
22 |
|
23 |
# Set up prompts and chains
|