peterpeter8585 commited on
Commit
2c98113
·
verified ·
1 Parent(s): 5039870

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -63,13 +63,6 @@ from langchain_core.prompts.chat import ChatPromptTemplate, MessagesPlaceholder
63
 
64
  #(reminder to respond in a JSON blob no matter what)'''
65
 
66
- prompt = ChatPromptTemplate.from_messages(
67
- [
68
- ("system", system),
69
- MessagesPlaceholder("chat_history", optional=True),
70
- ("human", human),
71
- ]
72
- )
73
  prompt=hub.pull("hwchase17/structured-chat-agent")
74
  from typing import Any, Dict, List, Optional
75
  from langchain_core.language_models import BaseChatModel
 
63
 
64
  #(reminder to respond in a JSON blob no matter what)'''
65
 
 
 
 
 
 
 
 
66
  prompt=hub.pull("hwchase17/structured-chat-agent")
67
  from typing import Any, Dict, List, Optional
68
  from langchain_core.language_models import BaseChatModel