Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -116,8 +116,8 @@ def rag_chain(llm, prompt, db):
|
|
116 |
return completion, rag_chain
|
117 |
|
118 |
def wandb_trace(rag_option, prompt, completion, chain, status_msg, start_time_ms, end_time_ms):
|
119 |
-
print(chain.inputKey)
|
120 |
-
print(chain.outputKey)
|
121 |
print(chain.retriever)
|
122 |
wandb.init(project = "openai-llm-rag")
|
123 |
if (rag_option == "Off" or str(status_msg) != ""):
|
|
|
116 |
return completion, rag_chain
|
117 |
|
118 |
def wandb_trace(rag_option, prompt, completion, chain, status_msg, start_time_ms, end_time_ms):
|
119 |
+
#print(chain.inputKey)
|
120 |
+
#print(chain.outputKey)
|
121 |
print(chain.retriever)
|
122 |
wandb.init(project = "openai-llm-rag")
|
123 |
if (rag_option == "Off" or str(status_msg) != ""):
|