Spaces:
Sleeping
Sleeping
suhasg
commited on
Commit
·
9603aa4
1
Parent(s):
80a67e8
changed the message format
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def split_docs(documents, chunk_size=1000, chunk_overlap=20):
|
|
29 |
return docs
|
30 |
|
31 |
def make_api_call(gpt_assistant_prompt, gpt_user_prompt):
|
32 |
-
message =
|
33 |
temperature = 0.0
|
34 |
max_tokens = 1000
|
35 |
#frequency_penalty = 0.0
|
|
|
29 |
return docs
|
30 |
|
31 |
def make_api_call(gpt_assistant_prompt, gpt_user_prompt):
|
32 |
+
message = f"{gpt_assistant_prompt}\n\n{gpt_user_prompt}"
|
33 |
temperature = 0.0
|
34 |
max_tokens = 1000
|
35 |
#frequency_penalty = 0.0
|