NCTCMumbai commited on
Commit
e62fecd
1 Parent(s): 7145a7c

Update backend/query_llm.py

Browse files
Files changed (1) hide show
  1. 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, "openai")
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",