Spaces:
Runtime error
Runtime error
File size: 323 Bytes
b303183 |
1 2 3 4 5 6 7 8 9 |
from model.yehia_interface import query_yehia
class Reasoner:
def generate_response(self, user_input, phase):
# You can format the input here, e.g.:
prompt = f"ุงูู
ุฑุญูุฉ ุงูุญุงููุฉ: {phase}. ุทูุจ ุงูู
ุณุชุฎุฏู
: {user_input}"
response = query_yehia(prompt)
return response
|