peterpeter8585 commited on
Commit
198375f
·
verified ·
1 Parent(s): 216db03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -9,12 +9,6 @@ from langchain.memory import ConversationBufferMemory as MEM,RedisChatMessageHis
9
  from langchain.schema import SystemMessage as SM,HumanMessage as HM, AIMessage as AM
10
  from langchain import hub
11
  import os
12
- import os
13
- import pprint
14
-
15
- os.environ["SERPER_API_KEY"] = ""
16
- from langchain_community.utilities import GoogleSerperAPIWrapper
17
- search = GoogleSerperAPIWrapper()
18
  from langchain_core.prompts.chat import ChatPromptTemplate, MessagesPlaceholder
19
  system = '''Respond to the human as helpfully and accurately as possible. You have access to the following tools:
20
 
 
9
  from langchain.schema import SystemMessage as SM,HumanMessage as HM, AIMessage as AM
10
  from langchain import hub
11
  import os
 
 
 
 
 
 
12
  from langchain_core.prompts.chat import ChatPromptTemplate, MessagesPlaceholder
13
  system = '''Respond to the human as helpfully and accurately as possible. You have access to the following tools:
14