Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ def wandb_trace(rag_option, prompt, completion, status_msg, start_time_ms, end_t
|
|
126 |
document_1 = completion["source_documents"][1]
|
127 |
document_2 = completion["source_documents"][2]
|
128 |
trace = Trace(
|
129 |
-
kind = "
|
130 |
name = "LLMChain" if (rag_option == "Off") else "RetrievalQA",
|
131 |
status_code = "SUCCESS" if (str(status_msg) == "") else "ERROR",
|
132 |
status_message = str(status_msg),
|
|
|
126 |
document_1 = completion["source_documents"][1]
|
127 |
document_2 = completion["source_documents"][2]
|
128 |
trace = Trace(
|
129 |
+
kind = "llm",
|
130 |
name = "LLMChain" if (rag_option == "Off") else "RetrievalQA",
|
131 |
status_code = "SUCCESS" if (str(status_msg) == "") else "ERROR",
|
132 |
status_message = str(status_msg),
|