codelion commited on
Commit
3c3463c
1 Parent(s): 4eaa76b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,6 +6,7 @@ from openai import OpenAI
6
  from optillm.moa import mixture_of_agents
7
  from optillm.mcts import chat_with_mcts
8
  from optillm.bon import best_of_n_sampling
 
9
 
10
  API_KEY = os.environ.get("HF_TOKEN")
11
 
@@ -33,7 +34,7 @@ def respond(
33
 
34
  # response = ""
35
 
36
- final_response = mixture_of_agents(system_message, message, client, model)
37
  return final_response
38
 
39
  # for message in client.chat_completion(
 
6
  from optillm.moa import mixture_of_agents
7
  from optillm.mcts import chat_with_mcts
8
  from optillm.bon import best_of_n_sampling
9
+ from optillm.cot_reflection import cot_reflection
10
 
11
  API_KEY = os.environ.get("HF_TOKEN")
12
 
 
34
 
35
  # response = ""
36
 
37
+ final_response = cot_reflection(system_message, message, client, model)
38
  return final_response
39
 
40
  # for message in client.chat_completion(