--- license: cc-by-nc-sa-4.0 language: - en pretty_name: "Function-Calling SFT: Real Estate Tools" task_categories: - text-generation tags: - synthetic - sonicium-quantum-lab - real-estate - artificial-intelligence - software - nlp - text-generation - function-calling - tool-use - llm-agents - llm-fine-tuning configs: - config_name: default data_files: - split: train path: "function_calling_real_estate.jsonl.gz" --- # Function-Calling SFT: Real Estate Tools > **Hugging Face mirror** of the Kaggle dataset [soniciumquantumlab/function-calling-real-estate](https://www.kaggle.com/datasets/soniciumquantumlab/function-calling-real-estate), created by **Hussain Billah** ([ORCID 0009-0009-5686-619X](https://orcid.org/0009-0009-5686-619X)) and published by **Sonicium Quantum Lab Ltd.** > Data files here are gzip-compressed copies of the original files (`function_calling_real_estate.csv.gz`, `function_calling_real_estate.jsonl.gz`) and load directly with the `datasets` library: > > ```python > from datasets import load_dataset > ds = load_dataset("SoniciumQuantumLab/function-calling-real-estate") > ``` 77K synthetic real estate tool-use examples for LLM agents. Created by **Hussain Billah** ([ORCID 0009-0009-5686-619X](https://orcid.org/0009-0009-5686-619X)) · Published by **Sonicium Quantum Lab Ltd.** · Series DOI: [10.5281/zenodo.24355126](https://doi.org/10.5281/zenodo.24355126) · Series: **Sonicium Function-Calling** · Generator `2.1.0` · License **CC BY-NC-SA 4.0** > **Custom datasets & commercial licensing:** Need a larger volume, a new domain, a custom schema or file format, or a commercial / enterprise license? Sonicium Quantum Lab Ltd. builds custom datasets on request. > > Email: **research@sonicium.ltd** · **collaboration@sonicium.ltd** · Website: **https://soniciumquantumlab.com** --- ## 1. Overview This dataset contains **76,948 synthetic function-calling (tool-use) examples** in the **Real Estate** domain, built for training and evaluating LLM agents. Each record is a complete tool-use episode: a system prompt, a list of available tools (JSON schemas, including **distractor tools** that must not be called), a user request, a short reasoning note, the **expected tool call with arguments**, a simulated tool result and the assistant's final answer. This teaches a model to **pick the right tool, fill its arguments from the request, and answer from the tool output**. The dataset is one domain of the **Sonicium Function-Calling** series (50 service domains, about 77K records each), so you can fine-tune on one domain or mix many domains for a general-purpose agent. ## 2. Highlights | Item | Value | |---|---| | Records | 76,948 | | Domain | Real Estate | | Tools in this domain | 4 (`realty_cancel`, `realty_create`, `realty_get_status`, `realty_history`) | | Tools offered per record | 2–4 (mean 3) · distractors 1–3 (mean 2) | | Difficulty | medium 25,812, hard 25,779, easy 25,357 | | Splits (train / validation / test) | 69,261 / 3,790 / 3,897 | | Tokens per record (approx.) | 175–272 (mean 225.7) | | Files | `function_calling_real_estate.csv` (91.1 MB, 21 columns) · `function_calling_real_estate.jsonl` (119.4 MB, same records) | | Language | English | | Generator version | `2.1.0` | ## 3. Tools in this domain | Tool | Description | Parameters | |---|---|---| | `realty_cancel` | Cancel a property viewing order. | order_id: string | | `realty_create` | Book/create a new property viewing. | customer: string, date: string | | `realty_get_status` | Check the status of a property viewing order. | order_id: string | | `realty_history` | List recent property viewing order history. | limit: integer | ## 4. Example record | Field | Value | |---|---| | `user_query` | Book a property viewing for Rahim on 2026-08-31. | | `assistant_reasoning` | The user's request requires the 'realty_create' tool — Book/create a new property viewing. I will call it with the parameters extracted from the request. | | `tool_call` | `{"name": "realty_create", "arguments": {"customer": "Rahim", "date": "2026-08-31"}}` | | `tool_result` | `{"order_id": "REALTY298549", "status": "confirmed", "price": 473.82}` | | `final_answer` | Property viewing booked for Rahim on 2026-08-31. Confirmation: REALTY298549. Price: $473.82. | | `num_available_tools` / `num_distractor_tools` | 3 / 2 | ## 5. Schema (function_calling_real_estate.csv) | Column | Type | Description | |---|---|---| | `id` | string | Unique record ID: {category}_{8-digit index}. | | `category` | string | Generator category; one value per dataset (function_calling_real_estate). | | `domain_label` | string | Human-readable service domain (Real Estate). | | `task_type` | string | Task label; always function_calling. | | `difficulty` | string | Difficulty label assigned by the generator (medium / hard / easy). | | `system_prompt` | string | System prompt telling the assistant it can call the listed tools. | | `available_tools` | string | JSON list of tool schemas offered in this record (name, description, parameters): the correct tool plus distractors. | | `user_query` | string | The user request (user turn). | | `assistant_reasoning` | string | Short rationale naming the tool to call and why. | | `tool_call` | string | Expected tool call as JSON: {"name": ..., "arguments": {...}}. | | `tool_result` | string | Simulated JSON response returned by the tool. | | `final_answer` | string | Assistant final reply to the user, grounded in the tool result. | | `num_available_tools` | integer | Number of tools offered in available_tools. | | `num_distractor_tools` | integer | Number of offered tools that should NOT be called. | | `language` | string | Language code of the record (en). | | `dataset_version` | string | Generator / schema version (2.1.0). | | `split` | string | Suggested split: train (~90%), validation (~5%) or test (~5%). | | `verified` | boolean | True when the generator consistency check passed (true for every row). | | `token_estimate` | integer | Approximate token length of the full record. | | `created_at` | datetime | Generation timestamp (ISO 8601). | | `seed` | string | Deterministic generation seed: {date}:{category}:{index}. | ## 6. Quick start ```python import json, pandas as pd df = pd.read_csv("/kaggle/input/function-calling-real-estate/function_calling_real_estate.csv") print(df.shape, df["split"].value_counts().to_dict()) # Build an OpenAI-style tool-calling conversation for SFT def to_messages(r): call = json.loads(r.tool_call) return { "tools": json.loads(r.available_tools), "messages": [ {"role": "system", "content": r.system_prompt}, {"role": "user", "content": r.user_query}, {"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": call["name"], "arguments": json.dumps(call["arguments"])}}]}, {"role": "tool", "name": call["name"], "content": r.tool_result}, {"role": "assistant", "content": r.final_answer}, ], } print(to_messages(df.iloc[0])) ``` The same records are available as JSON Lines (`function_calling_real_estate.jsonl`) for streaming pipelines. ## 7. Suggested uses - Supervised fine-tuning of LLMs for **function calling / tool use** in the real estate domain - Teaching **tool selection under distractors** and **argument extraction** from natural-language requests - Training models to write a final answer grounded in a tool result - Evaluating tool-calling accuracy (exact match on tool name and arguments) with the `test` split - Building multi-domain agent corpora by combining datasets from the Sonicium Function-Calling series ## 8. Generation and quality notes - **Synthetic and template-based.** Requests are instantiated from parameterized templates (names, dates, IDs, amounts), so similar phrasings recur. Deduplicate on `user_query` or paraphrase if you need more variety. - **Simulated tools.** Tool results are generated, not returned by real services; IDs, names and values are fictional. - **Structured fields.** `available_tools`, `tool_call` and `tool_result` are JSON strings; parse them with `json.loads`. - **Splits.** The `split` column gives a ready-made train / validation / test partition (about 90 / 5 / 5 %). - **Reproducible.** Each record stores its generator `seed`; IDs follow `{category}_{8-digit index}`. ## 9. More from Sonicium Quantum Lab Ltd. Browse the full **Sonicium Function-Calling** series (50 service domains) and the **Sonicium Math Reasoning** series (49 topics) at https://www.kaggle.com/soniciumquantumlab/datasets ## 10. License Released under **Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)** — https://creativecommons.org/licenses/by-nc-sa/4.0/ Free for research, education and other non-commercial use with attribution. For **commercial licensing**, contact Sonicium Quantum Lab Ltd. (see below). ## 11. Citation ```bibtex @misc{sonicium_function_calling_real_estate_2026, title = {Function-Calling SFT: Real Estate Tools}, author = {Billah, Hussain and {Sonicium Quantum Lab Ltd.}}, year = {2026}, publisher = {Kaggle}, howpublished = {\url{https://www.kaggle.com/datasets/soniciumquantumlab/function-calling-real-estate}} } ``` ## 12. Contact & Custom Data Requests For **custom datasets** (larger scale, new domains, custom schema or format) or a **commercial license**, email us with your use case, the volume you need and your preferred format. **Sonicium Quantum Lab Ltd.** - Primary contact: **Nazmul Basher**, Head of Marketing & Communications - Chairman and Chief Scientist: **Hussain Billah** - Email: research@sonicium.ltd · collaboration@sonicium.ltd - Website: https://soniciumquantumlab.com - Bangladesh office: 5th Floor, Opolok, 225 Senpara Parbata Lane, Mirpur-10, Dhaka-1216, Bangladesh - US office: 1270 3rd St, Brooklyn, New York 11219, USA ## Files - `function_calling_real_estate.csv` — 76,948 records, 21 columns (CSV with header). - `function_calling_real_estate.jsonl` — the same records in JSON Lines format (one JSON object per line). - `README.md` — this documentation.