Skip to content

[FEATURE] 支持配置是否向大模型发送表前3条样本数据 #1291

Description

@Fit111

SQLBot version
1.10.0
需求背景
当前 SQLBot 默认会读取匹配数据表的前3条样本数据,并发送给大模型辅助生成SQL。
在处理敏感业务数据场景下,该机制存在原始数据泄露风险。

期望方案
在配置文件中新增参数开关,支持控制是否将表前3行样本数据传递给大模型;
对于涉密环境,用户可以主动关闭该能力,规避数据外泄问题。

补充说明
开关可选:开启采样 / 关闭采样表预览数据。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions