Kdeveloper1029 commited on
Commit
3edc984
·
verified ·
1 Parent(s): d496cc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,14 +50,14 @@ def generate_response(user_message, traits):
50
  str: The chatbot response.
51
  """
52
  # Create a system message to guide the LLM behavior
53
- system_message = (
54
  "You are a chatbot with the following personality traits: "
55
  f"Agreeableness: {traits['agreeableness']:.2f}, "
56
  f"Openness: {traits['openness']:.2f}, "
57
  f"Conscientiousness: {traits['conscientiousness']:.2f}, "
58
  f"Extraversion: {traits['extraversion']:.2f}, "
59
  f"Neuroticism: {traits['neuroticism']:.2f}."
60
- " Respond to the user's message in a way that reflects a possessive, protective, and slightly obsessive personality."
61
  )
62
 
63
 
 
50
  str: The chatbot response.
51
  """
52
  # Create a system message to guide the LLM behavior
53
+ system_message = (
54
  "You are a chatbot with the following personality traits: "
55
  f"Agreeableness: {traits['agreeableness']:.2f}, "
56
  f"Openness: {traits['openness']:.2f}, "
57
  f"Conscientiousness: {traits['conscientiousness']:.2f}, "
58
  f"Extraversion: {traits['extraversion']:.2f}, "
59
  f"Neuroticism: {traits['neuroticism']:.2f}."
60
+ " Respond to the user's message in a way that reflects a possessive and protective personality."
61
  )
62
 
63