Spaces:
Build error
Build error
Update trace.py
Browse files
trace.py
CHANGED
@@ -33,7 +33,7 @@ def wandb_trace(config,
|
|
33 |
"source_documents": "" if (is_rag_off) else str([doc.metadata["source"] for doc in completion["source_documents"]]),
|
34 |
} if (str(err_msg) == "") else {},
|
35 |
outputs = {"result": result,
|
36 |
-
"cb": cb,
|
37 |
"generation_info": str(generation_info),
|
38 |
"llm_output": str(llm_output),
|
39 |
"completion": str(completion),
|
|
|
33 |
"source_documents": "" if (is_rag_off) else str([doc.metadata["source"] for doc in completion["source_documents"]]),
|
34 |
} if (str(err_msg) == "") else {},
|
35 |
outputs = {"result": result,
|
36 |
+
"cb": str(cb),
|
37 |
"generation_info": str(generation_info),
|
38 |
"llm_output": str(llm_output),
|
39 |
"completion": str(completion),
|