bstraehle commited on
Commit
ccc81c9
·
1 Parent(s): d693fc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -138,10 +138,7 @@ def wandb_trace(rag_option, prompt, completion, chain, status_msg, start_time_ms
138
  "model": config["model"],
139
  "temperature": config["temperature"],
140
  },
141
- inputs = {"rag_option": rag_option if (str(status_msg) == "") else "",
142
- "prompt": str(prompt if (str(status_msg) == "") else ""),
143
- "prompt_template": str((llm_template if (rag_option == RAG_OFF) else rag_template) if (str(status_msg) == "") else ""),
144
- "docs_meta": "" if (rag_option == RAG_OFF or str(status_msg) != "") else docs_meta},
145
  outputs = {"result": result},
146
  start_time_ms = start_time_ms,
147
  end_time_ms = end_time_ms
 
138
  "model": config["model"],
139
  "temperature": config["temperature"],
140
  },
141
+ inputs = {"rag_option": rag_option if (str(status_msg) == "") else "","prompt": str(prompt if (str(status_msg) == "") else ""),"prompt_template": str((llm_template if (rag_option == RAG_OFF) else rag_template) if (str(status_msg) == "") else ""),"docs_meta": "" if (rag_option == RAG_OFF or str(status_msg) != "") else docs_meta},
 
 
 
142
  outputs = {"result": result},
143
  start_time_ms = start_time_ms,
144
  end_time_ms = end_time_ms