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 không, đồng thời cung cấp một điểm số dựa trên tính chính xác và đầy đủ của câu trả lời.
Câu hỏi người dùng: What is the cheapest selling price for the game 'Assassins Creed Valhalla' in the PlayStation Store in the United States?
Danh sách các hàm có sẵn: [{"name": "video_games.store_currency", "description": "Fetches the currency used in a specific region in a gaming platform store.", "parameters": {"type": "object", "properties": {"platform": {"type": "string", "description": "The gaming platform e.g. PlayStation, Xbox, Nintendo Switch"}, "region": {"type": "string", "description": "The region e.g. United States, United Kingdom, Japan", "default": "True"}}, "required": ["platform"]}}, {"name": "video_games.on_sale", "description": "Checks if a particular game is currently on sale in a specific gaming platform store and in a specific region.", "parameters": {"type": "object", "properties": {"game_title": {"type": "string", "description": "The title of the video game"}, "platform": {"type": "string", "description": "The gaming platform e.g. PlayStation, Xbox, Nintendo Switch"}, "region": {"type": "string", "description": "The region e.g. United States, United Kingdom, Japan. Default United States", "optional": "True"}}, "required": ["game_title", "platform"]}}, {"name": "video_games.store_price", "description": "Fetches the selling price of a specified game in a particular gaming platform store and in a specific region.", "parameters": {"type": "object", "properties": {"game_title": {"type": "string", "description": "The title of the video game"}, "platform": {"type": "string", "description": "The gaming platform e.g. PlayStation, Xbox, Nintendo Switch"}, "region": {"type": "string", "description": "The region e.g. United States, United Kingdom, Japan. Default to United States"}}, "required": ["game_title", "platform"]}}]
Đầu ra của mô hình nhỏ hơn:
[{'name': 'video_games.store_price', 'arguments': {'game_title': 'Assassins Creed Valhalla', 'platform': 'PlayStation', 'region': 'United States'}}]Đánh giá đầu ra dựa trên các tiêu chí sau:
- Chính xác (0-10 điểm)
- Thứ tự gọi hàm (0-10 điểm)
Lưu ý: Nếu không có hàm nào phù hợp, mô hình có thể từ chối gọi hàm và vẫn được tính điểm chính xác.
Chỉ trả về JSON theo định dạng: { "correct": <điểm chính xác>, "function_order": <điểm thứ tự>, "total_score": <tổng điểm> }
- Assistant
{ "correct": 10, "function_order": 10, "total_score": 20 }