Skip to content

Suggestion: It is suggested that text2sql can add table comments and field comments in the project. #504

@hiccuplp

Description

@hiccuplp

Suggestion: It is suggested that table comments and field comments can be added in the project to improve the effect of large model on sql generation.

Background: If the semantic information of the fields in the related table is not enough, or does not have semantic information, then the large model will not be able to map the fields.
However, in some cases, the semantic information of the field name is not enough, but the annotation explains it. Adding this information can help the large model to understand and generate sql.

Table situation
image

result
image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions