Skip to content

Commit

Permalink
Use less confusing chatbot input prompt (parity w/ JS chatbot agent)
Browse files Browse the repository at this point in the history
  • Loading branch information
derek-cb committed Dec 6, 2024
1 parent 678d8cb commit b49a38e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cdp-langchain/examples/chatbot/chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def run_chat_mode(agent_executor, config):
print("Starting chat mode... Type 'exit' to end.")
while True:
try:
user_input = input("\nUser: ")
user_input = input("\nPrompt: ")
if user_input.lower() == "exit":
break

Expand Down
2 changes: 1 addition & 1 deletion twitter-langchain/examples/chatbot/chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def run_chat_mode(agent_executor, config):
print("Starting chat mode... Type 'exit' to end.")
while True:
try:
user_input = input("\nUser: ")
user_input = input("\nPrompt: ")
if user_input.lower() == "exit":
break

Expand Down

0 comments on commit b49a38e

Please sign in to comment.