bkbilal09 commited on
Commit
2be8b5b
·
verified ·
1 Parent(s): f380290

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -63,6 +63,7 @@ def rag_pipeline(query, model_choice):
63
  try:
64
  response = client.chat.completions.create(
65
  model=model_choice,
 
66
  messages=[
67
  {"role": "system", "content": "You are a helpful assistant."},
68
  {"role": "user", "content": prompt}
 
63
  try:
64
  response = client.chat.completions.create(
65
  model=model_choice,
66
+ # ✅ Properly formatted messages
67
  messages=[
68
  {"role": "system", "content": "You are a helpful assistant."},
69
  {"role": "user", "content": prompt}