Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|