bstraehle commited on
Commit
11aab06
·
1 Parent(s): 78f7433

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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("3=" + str(chain.llm))
125
- print("4=" + str(chain.chain_type_kwargs))
126
- print("5=" + str(chain.retriever))
 
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