Update app.py
Browse files
app.py
CHANGED
@@ -121,9 +121,10 @@ def wandb_trace(rag_option, prompt, completion, chain, status_msg, start_time_ms
|
|
121 |
print("1=" + str(chain.llm))
|
122 |
print("2=" + str(chain.prompt))
|
123 |
if (type(chain).__name__ == "RetrievalQA"):
|
124 |
-
print(
|
125 |
-
print("
|
126 |
-
print("
|
|
|
127 |
wandb.init(project = "openai-llm-rag")
|
128 |
if (rag_option == "Off" or str(status_msg) != ""):
|
129 |
result = completion
|
|
|
121 |
print("1=" + str(chain.llm))
|
122 |
print("2=" + str(chain.prompt))
|
123 |
if (type(chain).__name__ == "RetrievalQA"):
|
124 |
+
print(chain)
|
125 |
+
#print("3=" + str(chain.llm))
|
126 |
+
#print("4=" + str(chain.chain_type_kwargs))
|
127 |
+
#print("5=" + str(chain.retriever))
|
128 |
wandb.init(project = "openai-llm-rag")
|
129 |
if (rag_option == "Off" or str(status_msg) != ""):
|
130 |
result = completion
|