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 are some recommended board games for 2 players and strategy based from store BoardGameGeek?
Danh sách các hàm có sẵn: [{"name": "BoardGameGeek.recommend", "description": "Generate game recommendation from BoardGameGeek store based on number of players and category.", "parameters": {"type": "object", "properties": {"numPlayers": {"type": "integer", "description": "The number of players who will play the game."}, "category": {"type": "string", "description": "The preferred category of board game. E.g. strategy, family, party etc."}, "difficulty": {"type": "string", "description": "Preferred difficulty level. E.g. beginner, intermediate, advanced etc. This is an optional parameter. Default 'beginner'"}}, "required": ["numPlayers", "category"]}}, {"name": "AmazonGameStore.recommend", "description": "Generate game recommendation from Amazon Game Store based on number of players and category.", "parameters": {"type": "object", "properties": {"numOfPlayers": {"type": "integer", "description": "The number of players who will play the game."}, "category": {"type": "string", "description": "The preferred category of board game. E.g. strategy, family, party etc."}, "priceRange": {"type": "string", "description": "The price range you are willing to pay for the board game. E.g. 20, 30 etc. This is an optional parameter. Default ''"}}, "required": ["numOfPlayers", "category"]}}]
Đầu ra của mô hình nhỏ hơn:
code[{'name': 'BoardGameGeek.recommend', 'arguments': {'numPlayers': 2, 'category': 'strategy'}}] - Assistant
{ "correct": 10, "function_order": 10, "total_score": 20 }