bstraehle commited on
Commit
e69dd2f
·
1 Parent(s): 5a75358

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def rag_chain(llm, prompt, db):
117
  def wandb_log(prompt, completion, rag_option):
118
  wandb.login(key = wandb_api_key)
119
  wandb.init(project = "openai-llm-rag", config = config)
120
- wandb.log({"prompt": str(completion), "completion": str(completion), "rag_option": rag_option})
121
  wandb.finish()
122
 
123
  def invoke(openai_api_key, rag_option, prompt):
 
117
  def wandb_log(prompt, completion, rag_option):
118
  wandb.login(key = wandb_api_key)
119
  wandb.init(project = "openai-llm-rag", config = config)
120
+ wandb.log({"prompt": str(prompt), "completion": str(completion), "rag_option": rag_option})
121
  wandb.finish()
122
 
123
  def invoke(openai_api_key, rag_option, prompt):