docling-project / docling-project/docling-sdg

Reconsider type_ field in QaPromptTemplate?

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
51
Forks
21
PR merge metrics
No merged PRs in 30d

Description

The definition of QaPromptTemplate includes:

```
type_: PromptTypes = Field(alias="type")
```

Having two different names for the field makes development harder and confuses Ruff and MyPy. Could we consider just having one name for this field?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.