CoolFace
Datasetpublic

DCAgent2/bfcl-parity

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes188downloads
instruction.md59 linesDownload Raw Back to bfcl-simple-python-296
1# Task2 3Generate a major C scale progression with tempo 80 BPM and duration 4 beats.4 5## Available Functions6 7Based on the question, you will need to make one or more function/tool calls to achieve the purpose. If none of the functions can be used, do not invoke any function. If the given question lacks the parameters required by the function, do not invoke the function.8 9Here is a list of functions in JSON format that you can invoke.10[11    {12        "name": "music_generator.generate_scale_progression",13        "description": "Generate a music scale progression in a specific key with a given tempo and duration.",14        "parameters": {15            "type": "dict",16            "properties": {17                "key": {18                    "type": "string",19                    "description": "The key in which to generate the scale progression."20                },21                "tempo": {22                    "type": "integer",23                    "description": "The tempo of the scale progression in BPM."24                },25                "duration": {26                    "type": "integer",27                    "description": "The duration of each note in beats."28                },29                "scale_type": {30                    "type": "string",31                    "default": "major",32                    "description": "The type of scale to generate. Defaults to 'major'."33                }34            },35            "required": [36                "key",37                "tempo",38                "duration"39            ]40        }41    }42]43 44## Output45 46Analyze the request and determine the appropriate function call(s). 47Write ONLY a JSON array to `/app/result.json`.48 49Format:50- If a function applies: `[{"function_name": {"param1": "value1"}}]`51- If no function applies: `[]`52 53Example:54```bash55echo '[{"get_weather": {"city": "NYC"}}]' > /app/result.json56```57 58IMPORTANT: You MUST execute the command to write the file.59