Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For the most accurate semantics, please visit the modeling page. #1306

Open
jianwang770509 opened this issue Feb 15, 2025 · 1 comment
Open
Labels
bug Something isn't working

Comments

@jianwang770509
Copy link

Describe the bug

For the most accurate semantics, please visit the modeling page.

To Reproduce
think> 好的,我现在需要回答用户的问题:“列出所有在2024年签署的项目。”首先,我要理解这个问题。用户想知道哪些项目是在2024年签订的。
接下来,我查看提供的数据库模式,发现有两个表:ehl_test_prj_info和ehl_test_sales_contract。这两个表都可能包含与项目签署相关的信息。

在ehl_test_prj_info表中,有一个字段是signing_date,类型是DATE,这应该记录了项目签约的日期。因此,我可以从这个表中筛选出signing_date在2024年的记录。

另外,在ehl_test_sales_contract表中,也有prj_id字段,可以与另一个表进行连接。不过,由于用户只要求列出项目,可能不需要合同信息,所以主要关注ehl_test_prj_info表。

我还注意到,ehl_test_prj_info表中的prj_name和customer_name等字段可以帮助用户更好地理解结果。因此,在回答时,我会建议从这个表中提取这些相关的项目信息,并按年份筛选。

最后,我需要用简洁明了的方式,用中文向用户解释如何获取这些数据,确保他们能够清晰理解。

答案:列出所有在2024年签署的项目
要列出所有在2024年签署的项目,我们可以从表 ehl_test_prj_info 中提取相关信息。

关键字段:
signing_date(签约日期):用于筛选2024年的签约项目
prj_name(项目名称)
customer_name(客户名称)
结果将包括:
项目名称
客户名称
签约日期
通过这些信息,您可以清晰地看到在2024年签署的所有项目。

For the most accurate semantics, please visit the modeling page.

Wren AI Information

  • Version: [e.g, 0.15.3]
@jianwang770509 jianwang770509 added the bug Something isn't working label Feb 15, 2025
@15906106514
Copy link

请问您是否使用的是deepseek?能否提供下您config.yaml配置。

請問你的號了嘛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants