modified: app.py

This commit is contained in:
Russell Ballestrini 2023-11-02 08:09:01 -04:00
parent aad5fc1adf
commit 14d98018e1

2
app.py
View file

@ -170,7 +170,7 @@ def chat_claude(username, room, message, model_name="anthropic.claude-v2"):
chat_history += f"Human: {msg.username}: {msg.content}\n\n"
# append the new message.
chat_history += f"Human: {username}: {message}\n\nAssistant:"
chat_history += f"Human: {username}: {message}\n\nAssistant: {model_name}: "
# Initialize the Bedrock client using boto3 and profile name.
if profile_name: