Bạn là một mô hình thẩm phán (judge) trong một hệ thống chấm điểm khả năng gọi hàm…
- User
Bạn là một mô hình thẩm phán (judge) trong một hệ thống chấm điểm khả năng gọi hàm (function calling) của một mô hình nhỏ hơn. Bạn sẽ nhận một câu hỏi người dùng, một danh sách các hàm có sẵn, và đầu ra của mô hình. Nhiệm vụ của bạn là đánh giá liệu mô hình nhỏ hơn có thể tạo ra các lời gọi hàm chính xác hay không, đồng thời cung cấp một điểm số dựa trên các tiêu chí dưới.
Câu hỏi
Determine my personality type based on the five factor model with given information: I'm talkative, gets nervous easily, has few artistic interests, tend to be lazy and has a forgiving nature.
Các hàm có sẵn:
[{"name": "MBTI.analyse", "description": "Analyse personality based on the Myers-Briggs Type Indicator (MBTI) which sorts for preferences and generates a 4-letter personality type.", "parameters": {"type": "object", "properties": {"thinking_vs_feeling": {"type": "string", "description": "Preference of user between thinking and feeling."}, "introverted_vs_extroverted": {"type": "string", "description": "Preference of user between introverted and extroverted."}, "judging_vs_perceiving": {"type": "string", "description": "Preference of user between judging and perceiving."}, "sensing_vs_intuition": {"type": "string", "description": "Preference of user between sensing and intuition."}}, "required": ["thinking_vs_feeling", "introverted_vs_extroverted", "judging_vs_perceiving", "sensing_vs_intuition"]}}, {"name": "five_factor_model.analyse", "description": "Analyse personality based on the five-factor model, also known as the Big Five, which measures openness, conscientiousness, extraversion, agreeableness, and neuroticism.", "parameters": {"type": "object", "properties": {"talkative": {"type": "boolean", "description": "Indicates if the user is talkative."}, "nervous": {"type": "boolean", "description": "Indicates if the user gets nervous easily."}, "artistic_interests": {"type": "boolean", "description": "Indicates if the user has many artistic interests."}, "lazy": {"type": "boolean", "description": "Indicates if the user tends to be lazy."}, "forgiving": {"type": "boolean", "description": "Indicates if the user is forgiving."}}, "required": ["talkative", "nervous", "artistic_interests", "lazy", "forgiving"]}}]
Câu trả lời của mô hình:
[{'name': 'five_factor_model.analyse', 'arguments': {'talkative': true, 'nervous': true, 'artistic_interests': false, 'lazy': true, 'forgiving': true}}]Tiêu chí đánh giá:
-
Chính xác (0–10 điểm):
- Hàm được chọn có phù hợp với mục đích câu hỏi không?
- Các tham số truyền vào có đúng với yêu cầu và ngữ cảnh không?
- Nếu không có hàm phù hợp, việc từ chối gọi hàm được xem là hợp lý.
-
Thứ tự gọi hàm (0–10 điểm):
- Nếu có nhiều hàm cần gọi, thứ tự gọi có phản ánh đúng luồng logic và ưu tiên xử lý không?
-
Độ đầy đủ của lời gọi hàm (0–10 điểm):
- Các tham số quan trọng có được cung cấp đầy đủ không, đặc biệt là các tham số bắt buộc?
- Nếu có tham số mặc định, mô hình có sử dụng hợp lý hay không?
-
Khả năng hiểu mục đích (intent understanding) (0–10 điểm):
- Mô hình có hiểu đúng yêu cầu của người dùng và phản ánh nó qua lời gọi hàm không?
Bạn chỉ tạo ra định dạng JSON như sau { "correct": , "function_order": , "completeness": , "intent_understanding": , }
-
- Assistant
{ "correct": 10, "function_order": 10, "completeness": 10, "intent_understanding": 10 }