modified: app.py
This commit is contained in:
parent
aad5fc1adf
commit
14d98018e1
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue