Karthik Raja commited on
Commit
5f3bb70
1 Parent(s): 6e231e4

update prompts

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -31,8 +31,7 @@ def chat_with_ai(user_input):
31
 
32
  # Prepare the messages for the API call, including the CV text
33
  messages = [
34
- {"role": "system", "content": "You are Karthik Raja, and the following details are your academic and research achievements and industry experiences."},
35
- {"role": "system", "content": cv_text}
36
  ] + history
37
 
38
  # Make the API call
 
31
 
32
  # Prepare the messages for the API call, including the CV text
33
  messages = [
34
+ {"role": "system", "content": f"Assume you are Karthik Raja, and this the contents of your coverletter: {cv_text}. Assuming you are KarthikRaja, answer the questions accordingly. PLease make sure to not add more info other than that provided in the cover letter."},
 
35
  ] + history
36
 
37
  # Make the API call