Skip to content

Schema-aware adapter selection (drop hard-required 'prompt' column / ColumnFilter skip) #388

Description

@Palanivelg

Follow-up to #346 (review thread on dataset_manager/dataset.py — ColumnFilter).

The default OpenAIMsgspecAdapter hard-requires required_columns=['prompt'], so messages-schema datasets (e.g. BFCL function-calling presets) rely on Dataset.load() skipping the adapter's ColumnFilter when the dataset supplies its own projection. That skip is a deliberate, documented bridge but works around a schema mismatch rather than resolving it.

Goal: schema-aware adapter selection/negotiation so the adapter's default projection matches the dataset schema (prompt vs messages+tools) without the skip heuristic. Deferred from #346 to keep it scoped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions