[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-google-research-datasets--dstc8-schema-guided-dialogue":3,"tool-google-research-datasets--dstc8-schema-guided-dialogue":64},[4,17,27,35,43,56],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":16},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,3,"2026-04-05T11:01:52",[13,14,15],"开发框架","图像","Agent","ready",{"id":18,"name":19,"github_repo":20,"description_zh":21,"stars":22,"difficulty_score":23,"last_commit_at":24,"category_tags":25,"status":16},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",138956,2,"2026-04-05T11:33:21",[13,15,26],"语言模型",{"id":28,"name":29,"github_repo":30,"description_zh":31,"stars":32,"difficulty_score":23,"last_commit_at":33,"category_tags":34,"status":16},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",107662,"2026-04-03T11:11:01",[13,14,15],{"id":36,"name":37,"github_repo":38,"description_zh":39,"stars":40,"difficulty_score":23,"last_commit_at":41,"category_tags":42,"status":16},3704,"NextChat","ChatGPTNextWeb\u002FNextChat","NextChat 是一款轻量且极速的 AI 助手，旨在为用户提供流畅、跨平台的大模型交互体验。它完美解决了用户在多设备间切换时难以保持对话连续性，以及面对众多 AI 模型不知如何统一管理的痛点。无论是日常办公、学习辅助还是创意激发，NextChat 都能让用户随时随地通过网页、iOS、Android、Windows、MacOS 或 Linux 端无缝接入智能服务。\n\n这款工具非常适合普通用户、学生、职场人士以及需要私有化部署的企业团队使用。对于开发者而言，它也提供了便捷的自托管方案，支持一键部署到 Vercel 或 Zeabur 等平台。\n\nNextChat 的核心亮点在于其广泛的模型兼容性，原生支持 Claude、DeepSeek、GPT-4 及 Gemini Pro 等主流大模型，让用户在一个界面即可自由切换不同 AI 能力。此外，它还率先支持 MCP（Model Context Protocol）协议，增强了上下文处理能力。针对企业用户，NextChat 提供专业版解决方案，具备品牌定制、细粒度权限控制、内部知识库整合及安全审计等功能，满足公司对数据隐私和个性化管理的高标准要求。",87618,"2026-04-05T07:20:52",[13,26],{"id":44,"name":45,"github_repo":46,"description_zh":47,"stars":48,"difficulty_score":23,"last_commit_at":49,"category_tags":50,"status":16},2268,"ML-For-Beginners","microsoft\u002FML-For-Beginners","ML-For-Beginners 是由微软推出的一套系统化机器学习入门课程，旨在帮助零基础用户轻松掌握经典机器学习知识。这套课程将学习路径规划为 12 周，包含 26 节精炼课程和 52 道配套测验，内容涵盖从基础概念到实际应用的完整流程，有效解决了初学者面对庞大知识体系时无从下手、缺乏结构化指导的痛点。\n\n无论是希望转型的开发者、需要补充算法背景的研究人员，还是对人工智能充满好奇的普通爱好者，都能从中受益。课程不仅提供了清晰的理论讲解，还强调动手实践，让用户在循序渐进中建立扎实的技能基础。其独特的亮点在于强大的多语言支持，通过自动化机制提供了包括简体中文在内的 50 多种语言版本，极大地降低了全球不同背景用户的学习门槛。此外，项目采用开源协作模式，社区活跃且内容持续更新，确保学习者能获取前沿且准确的技术资讯。如果你正寻找一条清晰、友好且专业的机器学习入门之路，ML-For-Beginners 将是理想的起点。",84991,"2026-04-05T10:45:23",[14,51,52,53,15,54,26,13,55],"数据工具","视频","插件","其他","音频",{"id":57,"name":58,"github_repo":59,"description_zh":60,"stars":61,"difficulty_score":10,"last_commit_at":62,"category_tags":63,"status":16},3128,"ragflow","infiniflow\u002Fragflow","RAGFlow 是一款领先的开源检索增强生成（RAG）引擎，旨在为大语言模型构建更精准、可靠的上下文层。它巧妙地将前沿的 RAG 技术与智能体（Agent）能力相结合，不仅支持从各类文档中高效提取知识，还能让模型基于这些知识进行逻辑推理和任务执行。\n\n在大模型应用中，幻觉问题和知识滞后是常见痛点。RAGFlow 通过深度解析复杂文档结构（如表格、图表及混合排版），显著提升了信息检索的准确度，从而有效减少模型“胡编乱造”的现象，确保回答既有据可依又具备时效性。其内置的智能体机制更进一步，使系统不仅能回答问题，还能自主规划步骤解决复杂问题。\n\n这款工具特别适合开发者、企业技术团队以及 AI 研究人员使用。无论是希望快速搭建私有知识库问答系统，还是致力于探索大模型在垂直领域落地的创新者，都能从中受益。RAGFlow 提供了可视化的工作流编排界面和灵活的 API 接口，既降低了非算法背景用户的上手门槛，也满足了专业开发者对系统深度定制的需求。作为基于 Apache 2.0 协议开源的项目，它正成为连接通用大模型与行业专有知识之间的重要桥梁。",77062,"2026-04-04T04:44:48",[15,14,13,26,54],{"id":65,"github_repo":66,"name":67,"description_en":68,"description_zh":69,"ai_summary_zh":69,"readme_en":70,"readme_zh":71,"quickstart_zh":72,"use_case_zh":73,"hero_image_url":74,"owner_login":75,"owner_name":76,"owner_avatar_url":77,"owner_bio":78,"owner_company":79,"owner_location":79,"owner_email":79,"owner_twitter":79,"owner_website":80,"owner_url":81,"languages":82,"stars":87,"forks":88,"last_commit_at":89,"license":90,"difficulty_score":23,"env_os":91,"env_gpu":92,"env_ram":92,"env_deps":93,"category_tags":96,"github_topics":97,"view_count":23,"oss_zip_url":79,"oss_zip_packed_at":79,"status":16,"created_at":103,"updated_at":104,"faqs":105,"releases":136},3232,"google-research-datasets\u002Fdstc8-schema-guided-dialogue","dstc8-schema-guided-dialogue","The Schema-Guided Dialogue Dataset","dstc8-schema-guided-dialogue 是一个专为开发任务型虚拟助手打造的大规模开源数据集。它包含了超过 2 万条涵盖银行、旅行、天气等 20 个领域的多轮人机对话标注数据，旨在解决智能客服在跨领域场景中难以泛化、以及面对不同 API 接口时适应性差的难题。\n\n该数据集的核心亮点在于其独特的“模式引导”（Schema-Guided）机制。它将服务接口抽象为包含意图和参数的标准化模式，并辅以自然语言描述，使模型能够仅凭模式定义即可理解新服务，无需针对每个新领域重新训练。此外，其扩展版本 SGD-X 引入了五种语言风格各异的模式变体，专门用于评估和提升对话系统在面对真实世界中多样化语言表达时的鲁棒性，有效支持零样本或少样本学习场景。\n\ndstc8-schema-guided-dialogue 非常适合 AI 研究人员、对话系统开发者以及算法工程师使用。无论是进行意图识别、槽位填充、对话状态追踪，还是探索策略模仿学习与用户模拟，这套数据都能提供坚实的基准支持，帮助团队构建更灵活、更智能的下一代语音助手与聊天机器人。","# The Schema-Guided Dialogue Dataset\n\n**Contact -** schema-guided-dst@google.com\n\n## Overview\n\nThe **Schema-Guided Dialogue (SGD)** dataset consists of over 20k annotated\nmulti-domain, task-oriented conversations between a human and a virtual\nassistant. These conversations involve interactions with services and APIs\nspanning 20 domains, such as banks, events, media, calendar, travel, and\nweather. For most of these domains, the dataset contains multiple different\nAPIs, many of which have overlapping functionalities but different interfaces,\nwhich reflects common real-world scenarios. The wide range of available\nannotations can be used for intent prediction, slot filling, dialogue state\ntracking, policy imitation learning, language generation, and user simulation\nlearning, among other tasks for developing large-scale virtual assistants.\nAdditionally, the dataset contains unseen domains and services in the evaluation\nset to quantify the performance in zero-shot or few-shot settings.\n\n**Schema-Guided Dialogue - eXtended (SGD-X)** is a benchmark for measuring the\nrobustness of dialogue systems to linguistic variations in schemas. SGD-X\nextends the SGD dataset with 5 crowdsourced variants for every schema, where\nvariants are semantically similar yet stylistically diverse. Models trained on\nSGD are evaluated on SGD-X to measure how well they can generalize in a\nreal-world setting, where a large variety of linguistic styles exist.\n\n**The datasets are provided \"AS IS\" without any warranty, express or implied.\nGoogle disclaims all liability for any damages, direct or indirect, resulting\nfrom the use of this dataset.**\n\n## Updates\n\n**10\u002F19\u002F2021** - SGD-X schemas for measuring robustness to linguistic variations\nin schemas released, along with a script to convert dialogue annotations\naccording to the new schemas.\n\n**07\u002F05\u002F2020** - Test set annotations released. User actions and service calls\nmade during the dialogue are also released for all dialogues.\n\n**10\u002F14\u002F2019** - DSTC8 challenge concluded. Details about the submissions to the\nchallenge may be found in the\n[DSTC8 overview paper](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2002.01359.pdf).\n\n**10\u002F07\u002F2019** - Test dataset released without the dialogue state annotations.\n\n**07\u002F23\u002F2019** - Train and dev sets are publicly released as part of [DSTC8\nchallenge](dstc8.md).\n\n## Important Links\n\n*   [Paper - SGD dataset and DST baseline](https:\u002F\u002Farxiv.org\u002Fpdf\u002F1909.05855.pdf)\n*   [Paper - DSTC8 overview](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2002.01359.pdf)\n*   [Paper - SGD-X](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2110.06800.pdf)\n*   [Paper - Template-guided Text Generation](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2004.15006.pdf)\n*   [Code - DST baseline](https:\u002F\u002Fgithub.com\u002Fgoogle-research\u002Fgoogle-research\u002Ftree\u002Fmaster\u002Fschema_guided_dst)\n*   [Blog - SGD dataset](https:\u002F\u002Fai.googleblog.com\u002F2019\u002F10\u002Fintroducing-schema-guided-dialogue.html)\n\n## Data\n\nThe SGD dataset consists of schemas outlining the interface of different APIs\nand annotated dialogues. The dialogues were generated with the help of a\ndialogue simulator and paid crowd-workers. The data collection approach is\nsummarized in this [paper](https:\u002F\u002Farxiv.org\u002Fpdf\u002F1801.04871.pdf).\n\nThe SGD-X dataset consists of 5 linguistic variants of every schema in the\noriginal SGD dataset. Linguistic variants were written by hundreds of paid\ncrowd-workers. In the SGD-X directory, `v1` represents the variant closest to\nthe original schemas and `v5` the farthest in terms of linguistic distance. To\nevaluate model performance on SGD-X schemas, dialogues must be converted using\nthe script `generate_sgdx_dialogues.py`.\n\n### Schema Representation\n\nA service or API is essentially a set of functions (called intents), each taking\na set of parameters (called slots). A schema is a normalized representation of\nthe interface exposed by a service\u002FAPI. In addition, the schema also includes\nnatural language descriptions of the included functions and their parameters to\noutline the semantics of each element. The SGD schemas were manually generated\nby the dataset creators, and SGD-X schema variants were created by having\ncrowd-workers paraphrase the original schemas. Each schema is represented as a\njson object containing the following fields:\n\n*   **service_name\\*** - A unique name for the service.\n*   **description** - A natural language description of the tasks supported by\n    the service.\n*   **slots** - A list of slots\u002Fattributes corresponding to the entities present\n    in the service. Each slot contains the following fields:\n    *   **name** - The name of the slot.\n    *   **description** - A natural language description of the slot.\n    *   **is_categorical** - A boolean value. If true, the slot has a fixed set\n        of possible values.\n    *   **possible_values** - List of possible values the slot can take on. If\n        the slot is categorical, this lists all the possible values. If the slot\n        not categorical, it is either an empty list or a small sample of all the\n        values the slot can take on.\n*   **intents** - The list of intents\u002Ftasks supported by the service. Each\n    method contains the following fields:\n    *   **name** - The name of the intent.\n    *   **description** - A natural language description of the intent.\n    *   **is_transactional** - A boolean value. If true, the underlying API call\n        is transactional (e.g, a booking or a purchase), as opposed to a search\n        call.\n    *   **required_slots** - A list of slot names whose values must be provided\n        before executing an API call.\n    *   **optional_slots** - A dictionary mapping slot names to the default\n        value taken by the slot. These slots are optionally specified by the\n        user, and the user may override the default value. An empty default\n        value allows that slot to take any value by default.\n    *   **result_slots** - A list of slot names which are present in the results\n        returned by a call to the service or API.\n\n\\*service_names follow the form \"\\\u003Cdomain name\\>\\_\\\u003Cnumber\\>\" (e.g. Banks_2).\nThe number is used to disambiguate services from the same domain. SGD-X variant\nschemas have two-digit numbers, where the first digit is copied from the\noriginal schema, and the second digit is the SGD-X variant number. For example,\nthe `v1` variant of Banks_2 is Banks_21.\n\n### Dialogue Representation\n\nDialogues are represented as a list of turns, where each turn contains either a\nuser or system utterance. The annotations for a turn are grouped into frames,\nwhere each frame corresponds to a single service. Each turn in the single domain\ndataset contains exactly one frame. In multi-domain datasets, some turns may\nhave multiple frames.\n\nEach dialogue is represented as a json object with the following fields:\n\n*   **dialogue_id** - A unique identifier for a dialogue.\n*   **services** - A list of services present in the dialogue.\n*   **turns** - A list of annotated system or user utterances.\n\nEach turn consists of the following fields:\n\n*   **speaker** - The speaker for the turn. Possible values are \"USER\" or\n    \"SYSTEM\".\n*   **utterance** - A string containing the natural language utterance.\n*   **frames** - A list of frames, where each frame contains annotations for a\n    single service.\n\nEach frame consists of the following fields:\n\n*   **service** - The name of the service corresponding to the frame. The slots\n    and intents used in the following fields are taken from the schema of this\n    service.\n*   **slots** - A list of slot spans in the utterance, only provided for\n    non-categorical slots. Each slot span contains the following fields:\n    *   **slot** - The name of the slot.\n    *   **start** - The index of the starting character in the utterance\n        corresponding to the slot value.\n    *   **exclusive_end** - The index of the character just after the last\n        character corresponding to the slot value in the utterance. In python,\n        `utterance[start:exclusive_end]` gives the slot value.\n*   **actions** - A list of actions corresponding to the system. Each action has\n    the following fields:\n    *   **act** - The type of action. The list of all possible system acts is\n        given below.\n    *   **slot** (optional) - A slot argument for some of the actions.\n    *   **values** (optional) - A list of values assigned to the slot. If the\n        values list is non-empty, then the slot must be present.\n    *   **canonical_values** (optional) - The values in their canonicalized form\n        as used by the service. It is a list of strings of the same length as\n        values.\n*   **service_call** (system turns only, optional) - The request sent to the\n    service. It consists of the following fields:\n    *   **method** - The name of the intent or function of the service or API\n        being executed.\n    *   **parameters** - A dictionary mapping slot name (all required slots and\n        possibly some optional slots) to a value in its canonicalized form.\n*   **service_results** (system turns only, optional) - A list of entities\n    containing the results obtained from the service. It is only available for\n    turns in which a service call is made. Each entity is represented as a\n    dictionary mapping a slot name to a string containing its canonical value.\n*   **state** (user turns only) - The dialogue state corresponding to the\n    service. It consists of the following fields:\n    *   **active_intent** - The intent corresponding to the service of the frame\n        which is currently being fulfilled by the system. It takes the value\n        \"NONE\" if none of the intents are active.\n    *   **requested_slots** - A list of slots requested by the user in the\n        current turn.\n    *   **slot_values** - A dictionary mapping slot name to a list of strings.\n        For categorical slots, this list contains a single value assigned to the\n        slot. For non-categorical slots, all the values in this list are spoken\n        variations of each other and are equivalent (e.g, \"6 pm\", \"six in the\n        evening\", \"evening at 6\" etc.).\n\nList of possible system acts:\n\n*   **INFORM** - Inform the value for a slot to the user. The slot and values\n    fields in the corresponding action are always non-empty.\n*   **REQUEST** - Request the value of a slot from the user. The corresponding\n    action always contains a slot, but values are optional. When values are\n    present, they are used as examples for the user e.g, \"Would you like to eat\n    indian or chinese food or something else?\"\n*   **CONFIRM** - Confirm the value of a slot before making a transactional\n    service call.\n*   **OFFER** - Offer a certain value for a slot to the user. The corresponding\n    action always contains a slot and a list of values for that slot offered to\n    the user.\n*   **NOTIFY_SUCCESS** - Inform the user that their request was successful. Slot\n    and values are always empty in the corresponding action.\n*   **NOTIFY_FAILURE** - Inform the user that their request failed. Slot and\n    values are always empty in the corresponding action.\n*   **INFORM_COUNT** - Inform the number of items found that satisfy the user's\n    request. The corresponding action always has \"count\" as the slot, and a\n    single element in values for the number of results obtained by the system.\n*   **OFFER_INTENT** - Offer a new intent to the user. Eg, \"Would you like to\n    reserve a table?\". The corresponding action always has \"intent\" as the slot,\n    and a single value containing the intent being offered. The offered intent\n    belongs to the service corresponding to the frame.\n*   **REQ_MORE** - Asking the user if they need anything else. Slot and values\n    are always empty in the corresponding action.\n*   **GOODBYE** - End the dialogue. Slot and values are always empty in the\n    corresponding action.\n\nList of possible user acts:\n\n*   **INFORM_INTENT** - Express the desire to perform a certain task to the\n    system. The action always has \"intent\" as the slot and a single value\n    containing the intent being informed.\n*   **NEGATE_INTENT** - Negate the intent which has been offered by the system.\n*   **AFFIRM_INTENT** - Agree to the intent which has been offered by the\n    system.\n*   **INFORM** - Inform the value of a slot to the system. The slot and values\n    fields in the corresponding action are always non-empty.\n*   **REQUEST** - Request the value of a slot from the system. The corresponding\n    action always contains a slot parameter. It may optionally contain a value,\n    in which case, the user asks the system if the slot has the specified value.\n*   **AFFIRM** - Agree to the system's proposition. Slot and values are always\n    empty.\n*   **NEGATE** - Deny the system's proposal. Slot and values are always empty.\n*   **SELECT** - Select a result being offered by the system. The corresponding\n    action may either contain no parameters, in which case all the values\n    proposed by the system are being accepted, or it may contain a slot and\n    value parameters, in which case the specified slot and value are being\n    accepted.\n*   **REQUEST_ALTS** - Ask for more results besides the ones offered by the\n    system. Slot and values are always empty.\n*   **THANK_YOU** - Thank the system. Slot and values are always empty.\n*   **GOODBYE** - End the dialogue. Slot and values are always empty.\n\n\n## License\n\nThe SGD and SGD-X datasets are released under\n[**CC BY-SA 4.0**](https:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby-sa\u002F4.0\u002F) license. For\nthe full license, see [LICENSE.txt](LICENSE.txt). Please cite the following\npapers if you use the datasets in your work:\n\n**SGD**\n\n```shell\n@inproceedings{rastogi2020towards,\n  title={Towards scalable multi-domain conversational agents: The schema-guided dialogue dataset},\n  author={Rastogi, Abhinav and Zang, Xiaoxue and Sunkara, Srinivas and Gupta, Raghav and Khaitan, Pranav},\n  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},\n  volume={34},\n  number={05},\n  pages={8689--8696},\n  year={2020}\n}\n```\n\n**SGD-X**\n\n```shell\n@inproceedings{lee2022sgd,\n  title={SGD-X: A Benchmark for Robust Generalization in Schema-Guided Dialogue Systems},\n  author={Lee, Harrison and Gupta, Raghav and Rastogi, Abhinav and Cao, Yuan and Zhang, Bin and Wu, Yonghui},\n  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},\n  volume={36},\n  number={10},\n  pages={10938--10946},\n  year={2022}\n}\n```\n\n## Dataset Metadata\nThe following table is necessary for this dataset to be indexed by search\nengines such as \u003Ca href=\"https:\u002F\u002Fg.co\u002Fdatasetsearch\">Google Dataset Search\u003C\u002Fa>.\n\u003Cdiv itemscope itemtype=\"http:\u002F\u002Fschema.org\u002FDataset\">\n\u003Ctable>\n  \u003Ctr>\n    \u003Cth>property\u003C\u002Fth>\n    \u003Cth>value\u003C\u002Fth>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>name\u003C\u002Ftd>\n    \u003Ctd>\u003Ccode itemprop=\"name\">Schema-Guided Dialogue Dataset\u003C\u002Fcode>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>alternateName\u003C\u002Ftd>\n    \u003Ctd>\u003Ccode itemprop=\"alternateName\">SGD dataset\u003C\u002Fcode>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>url\u003C\u002Ftd>\n    \u003Ctd>\u003Ccode itemprop=\"url\">https:\u002F\u002Fgithub.com\u002Fgoogle-research-datasets\u002Fdstc8-schema-guided-dialogue\u003C\u002Fcode>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>sameAs\u003C\u002Ftd>\n    \u003Ctd>\u003Ccode itemprop=\"sameAs\">https:\u002F\u002Fgithub.com\u002Fgoogle-research-datasets\u002Fdstc8-schema-guided-dialogue\u003C\u002Fcode>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>description\u003C\u002Ftd>\n    \u003Ctd>\u003Ccode itemprop=\"description\">The dataset consists of conversations between a virtual assistant and a user ranging over a variety of domains including Travel, Events, Payment, Media, Restaurants, Weather etc. Annotations for natural language understanding, dialogue state tracking, policy learning, natural language generation and user simulation learning are also included.\u003C\u002Fcode>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>provider\u003C\u002Ftd>\n    \u003Ctd>\n      \u003Cdiv itemscope itemtype=\"http:\u002F\u002Fschema.org\u002FOrganization\" itemprop=\"provider\">\n        \u003Ctable>\n          \u003Ctr>\n            \u003Cth>property\u003C\u002Fth>\n            \u003Cth>value\u003C\u002Fth>\n          \u003C\u002Ftr>\n          \u003Ctr>\n            \u003Ctd>name\u003C\u002Ftd>\n            \u003Ctd>\u003Ccode itemprop=\"name\">Google\u003C\u002Fcode>\u003C\u002Ftd>\n          \u003C\u002Ftr>\n          \u003Ctr>\n            \u003Ctd>sameAs\u003C\u002Ftd>\n            \u003Ctd>\u003Ccode itemprop=\"sameAs\">https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FGoogle\u003C\u002Fcode>\u003C\u002Ftd>\n          \u003C\u002Ftr>\n        \u003C\u002Ftable>\n      \u003C\u002Fdiv>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>citation\u003C\u002Ftd>\n    \u003Ctd>\u003Ccode itemprop=\"citation\">https:\u002F\u002Fidentifiers.org\u002Farxiv:1909.05855\u003C\u002Fcode>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\u003C\u002Fdiv>\n","# 模式引导对话数据集\n\n**联系邮箱 -** schema-guided-dst@google.com\n\n## 概述\n\n**模式引导对话（SGD）** 数据集包含超过2万条由人类与虚拟助手之间进行的多领域、任务导向型对话标注数据。这些对话涉及20个领域的服务和API交互，例如银行、活动、媒体、日历、旅行和天气等。对于大多数领域，该数据集包含了多个不同的API，其中许多API的功能有所重叠但接口各异，这反映了现实世界中的常见场景。丰富的标注信息可用于意图预测、槽位填充、对话状态跟踪、策略模仿学习、语言生成以及用户模拟学习等多种任务，以支持大规模虚拟助手的开发。此外，数据集中还包含未见领域和服务的评估集，用于衡量零样本或少样本设置下的性能。\n\n**模式引导对话扩展版（SGD-X）** 是一个用于评估对话系统在模式语言变体方面鲁棒性的基准。SGD-X通过为每个模式添加5种众包生成的变体来扩展SGD数据集，这些变体语义相似但风格多样。基于SGD训练的模型将在SGD-X上进行评估，以衡量其在真实环境中面对多种语言风格时的泛化能力。\n\n**本数据集按“原样”提供，不提供任何明示或暗示的担保。谷歌对因使用本数据集而导致的任何直接或间接损害概不负责。**\n\n## 更新\n\n**2021年10月19日** - 发布了用于衡量模式语言变体鲁棒性的SGD-X模式，并附带了一个根据新模式转换对话标注的脚本。\n\n**2020年7月5日** - 发布了测试集标注。所有对话中用户的操作及服务调用记录也一并公开。\n\n**2019年10月14日** - DSTC8挑战赛圆满结束。有关参赛作品的详细信息可在[DSTC8综述论文](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2002.01359.pdf)中找到。\n\n**2019年10月7日** - 发布了不含对话状态标注的测试数据集。\n\n**2019年7月23日** - 训练集和验证集作为[DSTC8挑战赛](dstc8.md)的一部分公开发布。\n\n## 重要链接\n\n*   [论文 - SGD数据集及DST基线](https:\u002F\u002Farxiv.org\u002Fpdf\u002F1909.05855.pdf)\n*   [论文 - DSTC8综述](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2002.01359.pdf)\n*   [论文 - SGD-X](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2110.06800.pdf)\n*   [论文 - 模板引导文本生成](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2004.15006.pdf)\n*   [代码 - DST基线](https:\u002F\u002Fgithub.com\u002Fgoogle-research\u002Fgoogle-research\u002Ftree\u002Fmaster\u002Fschema_guided_dst)\n*   [博客 - SGD数据集](https:\u002F\u002Fai.googleblog.com\u002F2019\u002F10\u002Fintroducing-schema-guided-dialogue.html)\n\n## 数据\n\nSGD数据集由描述不同API接口的模式以及标注好的对话组成。这些对话是在对话模拟器和付费众包工作者的帮助下生成的。数据收集方法已在该[论文](https:\u002F\u002Farxiv.org\u002Fpdf\u002F1801.04871.pdf)中进行了总结。\n\nSGD-X数据集则包含原始SGD数据集中每个模式的5种语言变体。这些语言变体由数百名付费众包工作者撰写。在SGD-X目录中，`v1`代表与原始模式最接近的变体，而`v5`则是语言距离最远的变体。为了在SGD-X模式上评估模型性能，必须使用脚本`generate_sgdx_dialogues.py`对对话进行转换。\n\n### 模式表示\n\n服务或API本质上是一组函数（称为意图），每项函数都接受一组参数（称为槽位）。模式是对服务\u002FAPI所暴露接口的一种规范化表示。此外，模式还包括对所包含函数及其参数的自然语言描述，以阐明每个元素的语义。SGD模式由数据集创建者手动编制，而SGD-X模式的变体则是通过让众包工作者改写原始模式生成的。每个模式以JSON对象的形式呈现，包含以下字段：\n\n*   **service_name\\*** - 服务的唯一名称。\n*   **description** - 对该服务支持的任务的自然语言描述。\n*   **slots** - 与服务中实体相对应的槽位\u002F属性列表。每个槽位包含以下字段：\n    *   **name** - 槽位的名称。\n    *   **description** - 槽位的自然语言描述。\n    *   **is_categorical** - 布尔值。若为真，则该槽位具有固定的取值范围。\n    *   **possible_values** - 槽位可能取到的所有值的列表。如果槽位是分类型的，此列表将列出所有可能的取值；若非分类型，则要么为空，要么仅包含少量可能的取值。\n*   **intents** - 服务支持的意图\u002F任务列表。每个意图包含以下字段：\n    *   **name** - 意图的名称。\n    *   **description** - 意图的自然语言描述。\n    *   **is_transactional** - 布尔值。若为真，则底层的API调用属于事务性操作（如预订或购买），而非查询类调用。\n    *   **required_slots** - 在执行API调用前必须提供的槽位名称列表。\n    *   **optional_slots** - 一个字典，将槽位名称与其默认值对应起来。这些槽位由用户可选指定，且用户可以覆盖默认值。若默认值为空，则该槽位可接受任意值。\n    *   **result_slots** - 服务或API调用返回结果中包含的槽位名称列表。\n\n\\*服务名称采用“\u003C领域名>_\u003C数字>”的形式（如Banks_2）。数字用于区分同一领域的不同服务。SGD-X变体模式的编号为两位数，其中第一位数字沿用自原始模式，第二位数字则表示SGD-X变体序号。例如，Banks_2的`v1`变体即为Banks_21。\n\n### 对话表示\n\n对话以一系列轮次表示，每一轮次包含用户或系统的发言。每轮的标注被分组为框架，每个框架对应一项服务。单领域数据集中，每轮恰好包含一个框架。而在多领域数据集中，某些轮次可能包含多个框架。\n\n每条对话以JSON对象的形式呈现，包含以下字段：\n\n*   **dialogue_id** - 对话的唯一标识符。\n*   **services** - 对话中涉及的服务列表。\n*   **turns** - 系统或用户发言的标注列表。\n\n每一轮次包含以下字段：\n\n*   **speaker** - 当前轮次的发言者。可能的值为“USER”或\n    “SYSTEM”。\n*   **utterance** - 包含自然语言话语的字符串。\n*   **frames** - 框架列表，其中每个框架包含针对单个服务的注释。\n\n每个框架由以下字段组成：\n\n*   **service** - 与该框架对应的服务名称。以下字段中使用的槽位和意图均来自该服务的模式。\n*   **slots** - 话语中槽位跨度的列表，仅提供非分类槽位。每个槽位跨度包含以下字段：\n    *   **slot** - 槽位名称。\n    *   **start** - 话语中与槽位值对应的起始字符索引。\n    *   **exclusive_end** - 话语中与槽位值对应的最后一个字符之后的字符索引。在 Python 中，`utterance[start:exclusive_end]` 即为槽位值。\n*   **actions** - 与系统对应的动作列表。每个动作包含以下字段：\n    *   **act** - 动作类型。所有可能的系统动作列表如下所示。\n    *   **slot**（可选）- 部分动作的槽位参数。\n    *   **values**（可选）- 分配给该槽位的一组值。如果 values 列表非空，则该槽位必须存在。\n    *   **canonical_values**（可选）- 以服务所用规范形式表示的值。它是一个与 values 长度相同的字符串列表。\n*   **service_call**（仅限系统轮次，可选）- 发送到服务的请求。它由以下字段组成：\n    *   **method** - 正在执行的服务或 API 的意图或函数名称。\n    *   **parameters** - 一个字典，将槽位名称（所有必填槽位及可能的一些可选槽位）映射到其规范化形式的值。\n*   **service_results**（仅限系统轮次，可选）- 包含从服务获得的结果的实体列表。仅在进行了服务调用的轮次中才可用。每个实体以一个字典表示，将槽位名称映射到包含其规范化值的字符串。\n*   **state**（仅限用户轮次）- 与服务相对应的对话状态。它由以下字段组成：\n    *   **active_intent** - 当前由系统正在完成的框架所对应服务的意图。如果没有活动意图，则取值为“NONE”。\n    *   **requested_slots** - 当前轮次中用户请求的槽位列表。\n    *   **slot_values** - 一个字典，将槽位名称映射到字符串列表。对于分类槽位，此列表只包含分配给该槽位的一个值。对于非分类槽位，此列表中的所有值都是彼此的口语变体且等效（例如，“下午6点”、“晚上六点”、“6点的晚上”等）。\n\n可能的系统动作列表：\n\n*   **INFORM** - 向用户告知某个槽位的值。相应动作中的 slot 和 values 字段始终非空。\n*   **REQUEST** - 向用户请求某个槽位的值。相应动作始终包含一个 slot，但 values 是可选的。当 values 存在时，它们会被用作用户的示例，例如：“您想吃印度菜、中餐还是其他？”\n*   **CONFIRM** - 在进行事务性服务调用之前确认某个槽位的值。\n*   **OFFER** - 向用户提供某个槽位的特定值。相应动作始终包含一个 slot 和一组向用户提供的该槽位的值。\n*   **NOTIFY_SUCCESS** - 告知用户其请求已成功。相应动作中的 slot 和 values 始终为空。\n*   **NOTIFY_FAILURE** - 告知用户其请求失败。相应动作中的 slot 和 values 始终为空。\n*   **INFORM_COUNT** - 告知用户找到的符合其请求的项目数量。相应动作始终以“count”作为 slot，并在 values 中包含一个元素，表示系统获得的结果数量。\n*   **OFFER_INTENT** - 向用户提供一个新的意图。例如：“您是否要预订一张桌子？”相应动作始终以“intent”作为 slot，并包含一个值，即所提供的意图。所提供的意图属于该框架对应的服务。\n*   **REQ_MORE** - 询问用户是否还需要其他内容。相应动作中的 slot 和 values 始终为空。\n*   **GOODBYE** - 结束对话。相应动作中的 slot 和 values 始终为空。\n\n可能的用户动作列表：\n\n*   **INFORM_INTENT** - 向系统表达希望执行某项任务的愿望。该动作始终以“intent”作为 slot，并包含一个值，即所告知的意图。\n*   **NEGATE_INTENT** - 拒绝系统所提供的意图。\n*   **AFFIRM_INTENT** - 同意系统所提供的意图。\n*   **INFORM** - 向系统告知某个槽位的值。相应动作中的 slot 和 values 字段始终非空。\n*   **REQUEST** - 向系统请求某个槽位的值。相应动作始终包含一个 slot 参数。它也可能包含一个 value，此时用户会询问系统该槽位是否具有指定的值。\n*   **AFFIRM** - 同意系统的提议。slot 和 values 始终为空。\n*   **NEGATE** - 拒绝系统的提议。slot 和 values 始终为空。\n*   **SELECT** - 选择系统提供的结果。相应动作可能不包含任何参数，此时用户接受系统提出的所有值；也可能包含 slot 和 value 参数，此时用户接受指定的槽位和值。\n*   **REQUEST_ALTS** - 请求系统提供更多结果之外的其他选项。slot 和 values 始终为空。\n*   **THANK_YOU** - 感谢系统。slot 和 values 始终为空。\n*   **GOODBYE** - 结束对话。slot 和 values 始终为空。\n\n## 许可证\n\nSGD 和 SGD-X 数据集根据\n[**CC BY-SA 4.0**](https:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby-sa\u002F4.0\u002F) 许可证发布。完整的许可证内容请参阅 [LICENSE.txt](LICENSE.txt)。如果您在工作中使用这些数据集，请引用以下论文：\n\n**SGD**\n\n```shell\n@inproceedings{rastogi2020towards,\n  title={迈向可扩展的多领域对话系统：基于模式引导的对话数据集},\n  author={Rastogi, Abhinav and Zang, Xiaoxue and Sunkara, Srinivas and Gupta, Raghav and Khaitan, Pranav},\n  booktitle={AAAI人工智能会议论文集},\n  volume={34},\n  number={05},\n  pages={8689--8696},\n  year={2020}\n}\n```\n\n**SGD-X**\n\n```shell\n@inproceedings{lee2022sgd,\n  title={SGD-X：面向模式引导对话系统的鲁棒泛化基准},\n  author={Lee, Harrison and Gupta, Raghav and Rastogi, Abhinav and Cao, Yuan and Zhang, Bin and Wu, Yonghui},\n  booktitle={AAAI人工智能会议论文集},\n  volume={36},\n  number={10},\n  pages={10938--10946},\n  year={2022}\n}\n```\n\n## 数据集元数据\n下表对于使该数据集被搜索引擎（如 \u003Ca href=\"https:\u002F\u002Fg.co\u002Fdatasetsearch\">Google 数据集搜索\u003C\u002Fa>）索引是必要的。\n\u003Cdiv itemscope itemtype=\"http:\u002F\u002Fschema.org\u002FDataset\">\n\u003Ctable>\n  \u003Ctr>\n    \u003Cth>属性\u003C\u002Fth>\n    \u003Cth>值\u003C\u002Fth>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>名称\u003C\u002Ftd>\n    \u003Ctd>\u003Ccode itemprop=\"name\">基于模式引导的对话数据集\u003C\u002Fcode>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>别名\u003C\u002Ftd>\n    \u003Ctd>\u003Ccode itemprop=\"alternateName\">SGD 数据集\u003C\u002Fcode>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>网址\u003C\u002Ftd>\n    \u003Ctd>\u003Ccode itemprop=\"url\">https:\u002F\u002Fgithub.com\u002Fgoogle-research-datasets\u002Fdstc8-schema-guided-dialogue\u003C\u002Fcode>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>等同于\u003C\u002Ftd>\n    \u003Ctd>\u003Ccode itemprop=\"sameAs\">https:\u002F\u002Fgithub.com\u002Fgoogle-research-datasets\u002Fdstc8-schema-guided-dialogue\u003C\u002Fcode>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>描述\u003C\u002Ftd>\n    \u003Ctd>\u003Ccode itemprop=\"description\">该数据集包含虚拟助手与用户之间的对话，涵盖旅行、活动、支付、媒体、餐饮、天气等多种领域。同时包含了自然语言理解、对话状态跟踪、策略学习、自然语言生成以及用户模拟学习等方面的标注信息。\u003C\u002Fcode>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>提供者\u003C\u002Ftd>\n    \u003Ctd>\n      \u003Cdiv itemscope itemtype=\"http:\u002F\u002Fschema.org\u002FOrganization\" itemprop=\"provider\">\n        \u003Ctable>\n          \u003Ctr>\n            \u003Cth>属性\u003C\u002Fth>\n            \u003Cth>值\u003C\u002Fth>\n          \u003C\u002Ftr>\n          \u003Ctr>\n            \u003Ctd>名称\u003C\u002Ftd>\n            \u003Ctd>\u003Ccode itemprop=\"name\">谷歌\u003C\u002Fcode>\u003C\u002Ftd>\n          \u003C\u002Ftr>\n          \u003Ctr>\n            \u003Ctd>等同于\u003C\u002Ftd>\n            \u003Ctd>\u003Ccode itemprop=\"sameAs\">https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FGoogle\u003C\u002Fcode>\u003C\u002Ftd>\n          \u003C\u002Ftr>\n        \u003C\u002Ftable>\n      \u003C\u002Fdiv>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>引用\u003C\u002Ftd>\n    \u003Ctd>\u003Ccode itemprop=\"citation\">https:\u002F\u002Fidentifiers.org\u002Farxiv:1909.05855\u003C\u002Fcode>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\u003C\u002Fdiv>","# dstc8-schema-guided-dialogue 快速上手指南\n\n## 环境准备\n\n本数据集主要用于对话状态追踪（DST）、意图识别及多轮对话系统研究。开始前请确保满足以下要求：\n\n*   **操作系统**：Linux, macOS 或 Windows (推荐 Linux 环境)\n*   **Python 版本**：Python 3.6 或更高版本\n*   **前置依赖**：\n    *   `git`：用于克隆代码库\n    *   `python3`：运行数据处理脚本\n    *   常用数据科学库（可选，用于后续模型训练）：`tensorflow`, `pytorch`, `numpy`, `json`\n\n> **注意**：本项目主要提供数据集（JSON 格式）和处理脚本，无需安装复杂的 Python 包即可浏览数据。若需运行官方基线模型，请参考 [DST baseline code](https:\u002F\u002Fgithub.com\u002Fgoogle-research\u002Fgoogle-research\u002Ftree\u002Fmaster\u002Fschema_guided_dst)。\n\n## 安装步骤\n\n由于该工具核心为数据集，\"安装\"过程主要为获取数据仓库和源代码。\n\n1.  **克隆官方代码库**\n    使用 git 克隆包含数据集定义、处理脚本及基线模型的仓库：\n    ```bash\n    git clone https:\u002F\u002Fgithub.com\u002Fgoogle-research\u002Fgoogle-research.git\n    cd google-research\u002Fschema_guided_dst\n    ```\n\n2.  **下载数据集**\n    数据集文件较大，通常托管在 Google Cloud Storage。您可以使用 `gsutil` 下载，或直接通过浏览器访问链接下载。\n\n    *方法 A：使用 gsutil (需安装 Google Cloud SDK)*\n    ```bash\n    gsutil -m cp -r gs:\u002F\u002Fdstc8-schema-guided-dialogue\u002Fdata .\u002Fdata\n    ```\n\n    *方法 B：手动下载*\n    访问 [Google Research SGD Dataset 页面](https:\u002F\u002Fgithub.com\u002Fgoogle-research-datasets\u002Fdstc8-schema-guided-dialogue) 或相关存储链接下载 `train`, `dev`, `test` 及 `schema` 文件夹，并解压至项目目录。\n\n3.  **准备 SGD-X 扩展数据（可选）**\n    如果需要测试模型对语言变体的鲁棒性（SGD-X），请下载对应的变体 Schema 并使用提供的脚本转换对话数据：\n    ```bash\n    # 假设已下载 sgdx 数据到 .\u002Fsgdx_data\n    python generate_sgdx_dialogues.py --dialogue_dir .\u002Fdata\u002Ftrain --schema_dir .\u002Fsgdx_data --output_dir .\u002Fdata\u002Ftrain_sgdx\n    ```\n\n## 基本使用\n\n数据集由 **Schema（模式）** 和 **Dialogue（对话）** 两部分组成，均为 JSON 格式。\n\n### 1. 数据结构概览\n\n*   **Schema 文件** (`schema.json`)：定义服务接口，包含服务名称、意图（intents）、槽位（slots）及其自然语言描述。\n*   **对话文件** (`dialogues.json`)：包含多轮对话记录，每一轮（turn）标注了用户\u002F系统话语、当前对话状态（state）、执行的动作（actions）及服务调用（service_call）。\n\n### 2. 读取数据示例\n\n以下是一个简单的 Python 脚本，演示如何加载并解析训练集中的第一个对话样本：\n\n```python\nimport json\nimport os\n\n# 配置路径\ndata_dir = \".\u002Fdata\u002Ftrain\"\nschema_file = os.path.join(data_dir, \"schema.json\")\ndialogue_file = os.path.join(data_dir, \"dialogues_001.json\") # 文件名可能因分片而异\n\n# 1. 加载 Schema\nwith open(schema_file, \"r\", encoding=\"utf-8\") as f:\n    schemas = json.load(f)\n    \n# 构建服务名到 Schema 的映射，方便查找\nservice_to_schema = {s[\"service_name\"]: s for s in schemas}\n\nprint(f\"加载了 {len(schemas)} 个服务定义\")\nprint(f\"示例服务：{schemas[0]['service_name']} - {schemas[0]['description']}\")\n\n# 2. 加载对话数据\nwith open(dialogue_file, \"r\", encoding=\"utf-8\") as f:\n    dialogues = json.load(f)\n\n# 获取第一个对话\nsample_dialogue = dialogues[0]\n\nprint(\"\\n--- 对话示例 ---\")\nprint(f\"对话 ID: {sample_dialogue['dialogue_id']}\")\nprint(f\"涉及服务：{sample_dialogue['services']}\")\n\n# 遍历前两轮对话\nfor turn in sample_dialogue['turns'][:2]:\n    speaker = turn['speaker']\n    utterance = turn['utterance']\n    print(f\"\\n[{speaker}]: {utterance}\")\n    \n    # 打印当前轮的对话状态 (仅用户轮次包含完整 state)\n    if 'state' in turn['frames'][0]:\n        state = turn['frames'][0]['state']\n        print(f\"  -> 当前意图：{state['active_intent']}\")\n        if state['slot_values']:\n            print(f\"  -> 槽位填充：{state['slot_values']}\")\n```\n\n### 3. 关键字段说明\n\n在处理数据时，请重点关注以下字段：\n\n*   **`service_name`**: 唯一标识符，格式为 `\u003C域名>_\u003C编号>` (例如 `Banks_2`)。\n*   **`intents`**: 服务支持的任务列表（如 `book_appointment`, `search_bank`）。\n*   **`slots`**: 任务所需的参数（如 `time`, `location`, `bank_name`）。\n    *   `is_categorical`: 布尔值，表示该槽位是否为枚举类型。\n*   **`state.slot_values`**: 对话状态的核心价值观，记录了用户已提供的槽位值。\n*   **`actions`**: 系统或用户执行的动作（如 `INFORM`, `REQUEST`, `OFFER`），用于策略学习。\n\n通过以上步骤，您即可将 SGD 数据集集成到您的对话系统训练流程中，用于开发大规模虚拟助手或进行零样本\u002F少样本学习研究。","某初创团队正在开发一款能同时对接银行、旅行和娱乐等 20 多个领域 API 的智能客服助手，急需提升其理解复杂用户意图的能力。\n\n### 没有 dstc8-schema-guided-dialogue 时\n- **数据覆盖不足**：团队需手动收集各垂直领域的对话数据，耗时数月仍难以覆盖银行转账、航班预订等多样化的真实场景。\n- **泛化能力薄弱**：模型在面对未见过的新服务接口（如新接入的天气 API）时表现糟糕，无法在零样本或少样本设置下正常工作。\n- **抗干扰性差**：当不同服务商对同一功能（如“查询余额”）使用不同的术语或描述风格时，对话系统极易混淆，导致指令执行失败。\n- **开发成本高昂**：为每个新领域重新标注数据和训练模型，使得迭代周期长，难以快速响应市场需求。\n\n### 使用 dstc8-schema-guided-dialogue 后\n- **场景全面覆盖**：直接利用数据集中超过 2 万条涵盖 20 个领域的标注对话，瞬间补齐了从媒体播放到日历管理的全场景训练数据。\n- **无缝迁移新知**：借助数据集中特有的“未见领域”评估集，模型学会了举一反三，接入新 API 时无需大量新数据即可精准理解用户意图。\n- **鲁棒性显著增强**：通过引入 SGD-X 子集中的五种语言变体 schema，系统能够识别风格迥异但语义相同的指令，大幅降低了因表述差异导致的错误率。\n- **研发效率飞跃**：基于统一的 Schema 引导机制，团队将多领域模型的训练与调试周期从数月缩短至数周，快速实现了商业化落地。\n\ndstc8-schema-guided-dialogue 通过提供大规模、多领域且具备语言多样性的标准化数据，从根本上解决了任务型对话系统难以规模化扩展和适应新场景的核心难题。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fgoogle-research-datasets_dstc8-schema-guided-dialogue_43620c0b.png","google-research-datasets","Google Research Datasets","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Fgoogle-research-datasets_af261fb1.png","Datasets released by Google Research",null,"research.google","https:\u002F\u002Fgithub.com\u002Fgoogle-research-datasets",[83],{"name":84,"color":85,"percentage":86},"Python","#3572A5",100,600,132,"2026-03-20T02:48:46","CC-BY-SA-4.0","","未说明",{"notes":94,"python":92,"dependencies":95},"README 主要介绍数据集结构（SGD 和 SGD-X）、Schema 表示方法及对话标注格式，未提供具体的代码运行环境、依赖库或硬件需求。文中提到的脚本（如 generate_sgdx_dialogues.py）用于数据转换，具体运行环境需参考关联的基线代码仓库（如 github.com\u002Fgoogle-research\u002Fgoogle-research\u002Ftree\u002Fmaster\u002Fschema_guided_dst）。",[],[13,26,51],[98,99,100,101,102],"dataset","dialogue","dialogue-systems","assistant","nlp-machine-learning","2026-03-27T02:49:30.150509","2026-04-06T07:14:55.036660",[106,111,116,121,126,131],{"id":107,"question_zh":108,"answer_zh":109,"source_url":110},14880,"如何运行针对 MultiWOZ 2.1 数据集的 schema_guided_dst 训练？该数据集缺少用户意图和槽位请求动作。","维护者已发布转换脚本，地址在：https:\u002F\u002Fgithub.com\u002Fgoogle-research\u002Fgoogle-research\u002Ftree\u002Fmaster\u002Fschema_guided_dst。团队不会丢弃对话数据，正在发布转换后的 MultiWOZ 2.1 版本，并修正了原始数据集中的大部分标注错误。转换使用了全部 8 个领域的数据。","https:\u002F\u002Fgithub.com\u002Fgoogle-research-datasets\u002Fdstc8-schema-guided-dialogue\u002Fissues\u002F42",{"id":112,"question_zh":113,"answer_zh":114,"source_url":115},14881,"多领域测试集（multi-domain test set）中的 frames 是否包含服务标签（service labels）？","是的，多服务任务虽然有所简化，但包含从一个服务传递到另一个服务的槽位值，增加了难度。评估时主要区分单服务任务和多服务任务，不再严格区分 task1、task2 和 task3。具体任务信息请参考 README 文档。","https:\u002F\u002Fgithub.com\u002Fgoogle-research-datasets\u002Fdstc8-schema-guided-dialogue\u002Fissues\u002F21",{"id":117,"question_zh":118,"answer_zh":119,"source_url":120},14882,"如何在不同领域（domain）上单独训练模型并获取评估结果？","可以通过修改评估脚本实现。更新后的脚本除了输出每个服务（如 \"Hotel_1\"）的指标外，还会输出每个领域（如 \"Hotel\"）的聚合指标。这有助于复现论文中针对不同单领域的实验结果（如论文表 5）。","https:\u002F\u002Fgithub.com\u002Fgoogle-research-datasets\u002Fdstc8-schema-guided-dialogue\u002Fissues\u002F36",{"id":122,"question_zh":123,"answer_zh":124,"source_url":125},14883,"是否会发布关于用户动作（user action）和用户目标（user goals）的标注数据？","是的，维护者确认已完成发布（Done）。这些标注数据可用于训练用户模型。","https:\u002F\u002Fgithub.com\u002Fgoogle-research-datasets\u002Fdstc8-schema-guided-dialogue\u002Fissues\u002F40",{"id":127,"question_zh":128,"answer_zh":129,"source_url":130},14884,"发现数据集中存在信念状态（belief state）错误，特别是分类槽位（category slots），这会影响模型效果吗？","维护者已确认并修正了指出的错误。该数据集采用新方法生成，用户可能在后续回合中否定实体或改变偏好，因此对话状态中的额外信息会限制系统可能提供的实体。当用户接受系统提议时，对话状态的更新方式在整个数据集中保持一致。","https:\u002F\u002Fgithub.com\u002Fgoogle-research-datasets\u002Fdstc8-schema-guided-dialogue\u002Fissues\u002F14",{"id":132,"question_zh":133,"answer_zh":134,"source_url":135},14885,"运行基线模型训练命令时报错 \"Fatal Python error: _PySys_BeginInit: \u003Cstdin> is a directory\"，如何解决？","这是一个路径问题。请尝试在命令中为所有目录参数使用绝对路径。同时检查命令行格式是否正确，确保没有错误地使用尖括号（例如应使用 `uncased_L-12_H-768_A-12` 而不是 `\u003Cuncased_L-12_H-768_A-12>`）。","https:\u002F\u002Fgithub.com\u002Fgoogle-research-datasets\u002Fdstc8-schema-guided-dialogue\u002Fissues\u002F39",[]]