By clicking "Accept", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. See our Privacy Policy for more information
Open Datasets
xLam Function Calling 60k
Text

xLam Function Calling 60k

This dataset contains 60,000 sample text queries with associated functional API calls, automatically verified by execution and semantic validation, covering 21 API categories. It is designed for the development of function-calling models that can interpret and execute functions from natural text.

Download dataset
Size

60,000 JSON examples, structured format: request, tools, parameters, responses

Licence

CC-BY 4.0

Description

The dataset xLam Function Calling 60k includes 60,000 sample natural language requests, combined with functional API calls that are validated through three steps: format control, actual execution, and semantic verification. The data covers 21 diverse API categories and is generated by two automatic pipelines.

What is this dataset for?

  • Train models that can call API functions from natural language instructions
  • Evaluate the accuracy of the models in understanding the parameters and correct execution
  • Benchmark function-calling agents in various contexts

Can it be enriched or improved?

This dataset can be enriched by adding new types of APIs, integrating execution logs, or creating multilingual versions. Finer annotation of minor errors detected could also improve robustness.

🔎 In summary

Criterion Evaluation
🧩Ease of Use ⭐⭐⭐☆☆ (Clear JSON format but requires precise parsing)
🧼Cleaning Required ⭐⭐☆☆☆ (Low, data automatically verified)
🏷️Annotation Richness ⭐⭐⭐⭐☆ (Very rich: detailed parameters, multi-level checks)
📜Commercial License ✅ Yes (CC-BY 4.0)
👨‍💻Beginner Friendly 👍 Medium – requires skills in JSON handling and API usage
🔁Reusable for Fine-Tuning 🔥 Perfect for fine-tuning function-calling models
🌍Cultural Diversity 🌍 Wide range of functional domains covered

🧠 Recommended for

  • NLP researchers
  • API assistant developers
  • Function-calling ML engineers

🔧 Compatible tools

  • Hugging Face Datasets
  • LangChain
  • OpenAI Function Calling
  • FastAPI

💡 Tip

Use semantic validation as a filter to detect and correct errors in your own data.

Frequently Asked Questions

What is a function-calling agent in the context of this dataset?

A function-calling agent interprets instructions in natural language to automatically execute calls to API functions with the appropriate parameters.

Does the dataset contain examples of errors or incorrect data?

Yes, around 5% of the examples have small errors detected during validation, such as inaccurate arguments, but overall the quality is greater than 95%.

Can this dataset be used for commercial applications?

Yes, the CC-BY 4.0 license allows commercial use as long as attribution is mentioned.

Similar datasets

See more
Category

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.

Category

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.

Category

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.