[Feature] Support domain-specific persona datasets
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start from sampler_params.py: read PersonSamplerParams, people_gen_key, generator_kwargs and _generate_from_dataset, and note how locale is excluded from evidence filters. Then trace the CLI download path the issue calls data-designer download and see where resource URLs and filenames are set. Also inspect PII_FIELDS and PERSONA_FIELDS to judge what new columns a domain-specific dataset implies. Done means a domain param flows from config through the key and download naming without leaking into evidence filters, plus a test showing a non-default domain resolves its own dataset.
由索引模型根据 Issue 内容生成。
描述
Priority Level
High (Major improvement)
Is your feature request related to a problem? Please describe.
Please add a feature that seamlessly integrates domain-specific persona datasets from various regions.
What we should do:
- Data download support
- Data loading support
Things we need to consider
- The dataset name may vary by domain (e.g., finance, healthcare).
- The dataset schema may vary by region and domain.
Describe the solution you'd like
Download support from CLI
e.g., data-designer download personas-{domain} --locale {region}
We will set the URLs and filenames of resources on NGC so that the changes to the NDD download script are minimal.
Loading support from NDD
The following is example code for loading the Japanese finance version.
config_builder = DataDesignerConfigBuilder(model_configs=model_configs)
SamplerColumnConfig(
name="person",
sampler_type=SamplerType.PERSON,
params=PersonSamplerParams(
locale="ja_JP",
domain="finance",
age_range=[18, 114],
),
)
We may need to consider the following additions
-
Add the following field to
PersonSamplerParamsinsampler_params.py:
domain: Literal[“finance”, "healthcare"] | None = None -
Add a
domaintopeople_gen_keyinsampler_params.py:
key = self.locale
if self.domain: key += f“_{self.domain}”
if self.with_synthetic_personas: key += “_with_personas”
generator_kwargs(sampler_params.py)
This property returns all field names except locale and sampler_type. If we add domain without taking any further action, domain=”finance“ will be included in the evidence (filter conditions) of _generate_from_dataset. This is treated as a data column and becomes an invalid filter. Add domain to the exclusion list in generator_kwargs (treated the same as locale).
- Add columns specific to
PII_FIELDSandPERSONA_FIELDS.
Describe alternatives you've considered
No response
Agent Investigation
No response
Additional context
No response
Checklist
- I've reviewed existing issues and the documentation
- This is a design proposal, not a "please build this" request
- 主要语言
- Python
- 星标
- 2.4k
- 派生
- 253
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 28
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA-NeMo/DataDesigner 的其他 Issue
-
Default OpenAI reasoning/vision model `gpt-5` is retired on 2026-12-11可能已有人在做 @pcbeingused333 于 24 天前认领。 未关闭needs-discussion triaged
难度 2/5 1-3 小时 新手友好度 85/100
NVIDIA-NeMo/DataDesigner#1129 · 3 条评论 ·
维护者通常 1 天内回复
-
Local seed path containing a single quote breaks the DuckDB query可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug triaged
难度 2/5 1-3 小时 新手友好度 67/100
NVIDIA-NeMo/DataDesigner#1102 · 3 条评论 ·
维护者通常 1 天内回复
-
enforce \from future import annotations` via ruff FA102 rule`可能重新可做 关联的 PR 已关闭且未合并。 未关闭task
难度 2/5 1-3 小时 新手友好度 82/100
NVIDIA-NeMo/DataDesigner#760 ·
维护者通常 1 天内回复
-
enhancement needs-discussion
难度 5/5 一周以上 新手友好度 25/100
NVIDIA-NeMo/DataDesigner#1180 · 1 条评论 ·
维护者通常 1 天内回复
-
Decimal fields inside nested models aren't normalized in structured output可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug
难度 3/5 1-2 天 新手友好度 65/100
NVIDIA-NeMo/DataDesigner#1177 · 2 条评论 ·
维护者通常 1 天内回复
查看 NVIDIA-NeMo/DataDesigner 的全部 Issue
相似的 Issue
-
needs-triage
难度 2/5 1-3 小时 新手友好度 86/100
MakazhanAlpamys/Soup#3589 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
ClickHouse/clickhouse-connect#1266 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
biosustain/growthcurves_app#89 ·
维护者通常 1 天内回复
-
`LogProxyConsumer._on_relation_departed` raises `APIError` when the promtail service does not exist未关闭
难度 2/5 1-3 小时 新手友好度 78/100
canonical/loki-k8s-operator#695 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复