Spaces:
Runtime error
Runtime error
Commit
·
608896e
1
Parent(s):
dc66c9a
correct memory remaining code
Browse files
app.py
CHANGED
|
@@ -429,13 +429,13 @@ prompt = ZeroShotAgent.create_prompt(
|
|
| 429 |
prefix=PREFIX,
|
| 430 |
suffix=SUFFIX2,
|
| 431 |
format_instructions=FORMAT_INSTRUCTIONS,
|
| 432 |
-
input_variables=["input", "chat_history", "agent_scratchpad"]
|
| 433 |
)
|
| 434 |
|
| 435 |
prompt_openai = OpenAIMultiFunctionsAgent.create_prompt(
|
| 436 |
system_message = SystemMessage(
|
| 437 |
content="You are a helpful AI assistant."),
|
| 438 |
-
extra_prompt_messages = [MessagesPlaceholder(variable_name="memory")],
|
| 439 |
)
|
| 440 |
|
| 441 |
input_variables=["input", "chat_history", "agent_scratchpad"]
|
|
|
|
| 429 |
prefix=PREFIX,
|
| 430 |
suffix=SUFFIX2,
|
| 431 |
format_instructions=FORMAT_INSTRUCTIONS,
|
| 432 |
+
# input_variables=["input", "chat_history", "agent_scratchpad"]
|
| 433 |
)
|
| 434 |
|
| 435 |
prompt_openai = OpenAIMultiFunctionsAgent.create_prompt(
|
| 436 |
system_message = SystemMessage(
|
| 437 |
content="You are a helpful AI assistant."),
|
| 438 |
+
# extra_prompt_messages = [MessagesPlaceholder(variable_name="memory")],
|
| 439 |
)
|
| 440 |
|
| 441 |
input_variables=["input", "chat_history", "agent_scratchpad"]
|