Skip to content
TheChatArchiveThe Chat Archive
gpt-4.1-mini-2025-04-14· OpenAIAi2 WildChat-4.8M (AI2)

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…

  1. 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

    Find the most followed person on twitter who tweets about psychology related to behaviour and group dynamics.

    Các hàm có sẵn:

    [{"name": "social_media_analytics.most_followed", "description": "Find the most followed Twitter user related to certain topics.", "parameters": {"type": "object", "properties": {"topic": {"type": "string", "description": "The main topic of interest."}, "sub_topics": {"type": "array", "items": {"type": "string"}, "description": "Sub-topics related to main topic, Optional. Default is an empty list."}, "region": {"type": "string", "description": "Region of interest for twitter search, Optional. Default is 'global'."}}, "required": ["topic"]}}, {"name": "calculate_probability", "description": "Calculate the probability of an event.", "parameters": {"type": "object", "properties": {"total_outcomes": {"type": "integer", "description": "Total number of possible outcomes."}, "favorable_outcomes": {"type": "integer", "description": "Number of outcomes considered as 'successful'."}, "round_to": {"type": "integer", "description": "Number of decimal places to round the result to.", "default": 2}}, "required": ["total_outcomes", "favorable_outcomes"]}}, {"name": "concert_info.get", "description": "Retrieve information about concerts based on specific genre, location and date.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "The city where the concert will take place."}, "date": {"type": "string", "description": "Time frame to get the concert for."}, "genre": {"type": "string", "description": "Genre of the concert.", "enum": ["Pop", "Rock", "Country", "Classical", "Electronic", "Hip-Hop"]}}, "required": ["location", "date", "genre"]}}]

    Câu trả lời của mô hình:

    <tool_call> {"name": "social_media_analytics.most_followed", "arguments": {"topic": "psychology", "sub_topics": ["behaviour", "group dynamics"], "region": "global"}} </tool_call>

    Tiêu chí đánh giá:

    1. 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ý.
    2. 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?
    3. Độ đầ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?
    4. 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": , }

  2. Assistant

    { "correct": 10, "function_order": 10, "completeness": 10, "intent_understanding": 10 }