Code0ut commited on
Commit
e09296f
·
verified ·
1 Parent(s): 93c11a2

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. server/response_generator.py +2 -2
server/response_generator.py CHANGED
@@ -85,12 +85,12 @@ def call_llm(prompt: str) -> str:
85
  # =========================
86
  # MAIN FUNCTION
87
  # =========================
88
- def generate_response(action_type: str, message: str, state, disorder_info) -> str:
89
  """
90
  Generate patient response using LLM
91
  """
92
 
93
- prompt = build_prompt(action_type, message, state, disorder_info)
94
 
95
  response = call_llm(prompt)
96
 
 
85
  # =========================
86
  # MAIN FUNCTION
87
  # =========================
88
+ def generate_response(action_type: str, message: str, state, ) -> str:
89
  """
90
  Generate patient response using LLM
91
  """
92
 
93
+ prompt = build_prompt(action_type, message, state, state.disorder)
94
 
95
  response = call_llm(prompt)
96