()
| 17 | |
| 18 | @app.route('/multi_question', methods=['POST']) |
| 19 | def api_multi_question(): |
| 20 | data = request.json |
| 21 | question = data.get('question') |
| 22 | if not question: |
| 23 | return jsonify({"error": "No question provided"}), 400 |
| 24 | |
| 25 | response = chatbot_model.process_multi_question(question) |
| 26 | return jsonify({"answer": response}) |
| 27 | |
| 28 | |
| 29 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected