MCPcopy Create free account
hub / github.com/answerlink/IntelliQ / api_multi_question

Function api_multi_question

app.py:19–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18@app.route('/multi_question', methods=['POST'])
19def 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
29if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected