NCTCMumbai
commited on
Commit
•
e62fecd
1
Parent(s):
7145a7c
Update backend/query_llm.py
Browse files- backend/query_llm.py +1 -1
backend/query_llm.py
CHANGED
@@ -133,7 +133,7 @@ def generate_openai(prompt: str, history: str, temperature: float = 0.9, max_new
|
|
133 |
'frequency_penalty': max(-2., min(repetition_penalty, 2.)),
|
134 |
}
|
135 |
|
136 |
-
formatted_prompt = format_prompt(prompt, "
|
137 |
|
138 |
try:
|
139 |
stream = openai.ChatCompletion.create(model="gpt-3.5-turbo-0301",
|
|
|
133 |
'frequency_penalty': max(-2., min(repetition_penalty, 2.)),
|
134 |
}
|
135 |
|
136 |
+
formatted_prompt = format_prompt(prompt, "hf")
|
137 |
|
138 |
try:
|
139 |
stream = openai.ChatCompletion.create(model="gpt-3.5-turbo-0301",
|