sathyrajan commited on
Commit
83d6c7c
·
verified ·
1 Parent(s): 423975e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -45,7 +45,7 @@ def chat_with_agents(user_input, history):
45
  # Step 1: RAG Agent retrieves context (doc-based information)
46
  chat_result = ragproxyagent.initiate_chat(
47
  assistant,
48
- message=user_input,
49
  problem=user_input,
50
  n_results=3,
51
  max_turns=1,
@@ -76,5 +76,4 @@ chat_interface = gr.ChatInterface(
76
  )
77
 
78
  if __name__ == "__main__":
79
- chat_interface.launch()
80
-
 
45
  # Step 1: RAG Agent retrieves context (doc-based information)
46
  chat_result = ragproxyagent.initiate_chat(
47
  assistant,
48
+ message=ragproxyagent.message_generator,
49
  problem=user_input,
50
  n_results=3,
51
  max_turns=1,
 
76
  )
77
 
78
  if __name__ == "__main__":
79
+ chat_interface.launch()