Karthik Raja
commited on
Commit
•
5f3bb70
1
Parent(s):
6e231e4
update prompts
Browse files
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": "
|
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
|