bstraehle commited on
Commit
8573a63
·
1 Parent(s): 511bcdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -141,7 +141,7 @@ def wandb_trace(rag_option, prompt, completion, result, chain, err_msg, start_ti
141
  },
142
  model_dict = {"llm_client": str(chain.llm.client) if (rag_option == RAG_OFF) else str(chain.combine_documents_chain.llm_chain.llm.client),
143
  "chain_prompt": str(chain.prompt) if (rag_option == RAG_OFF) else str(chain.combine_documents_chain.llm_chain.prompt),
144
- "retriever": "" if (rag_option == RAG_OFF) else chain.retriever,
145
  },
146
  start_time_ms = start_time_ms,
147
  end_time_ms = end_time_ms
 
141
  },
142
  model_dict = {"llm_client": str(chain.llm.client) if (rag_option == RAG_OFF) else str(chain.combine_documents_chain.llm_chain.llm.client),
143
  "chain_prompt": str(chain.prompt) if (rag_option == RAG_OFF) else str(chain.combine_documents_chain.llm_chain.prompt),
144
+ "retriever": "" if (rag_option == RAG_OFF) else str(chain.retriever),
145
  },
146
  start_time_ms = start_time_ms,
147
  end_time_ms = end_time_ms