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

请问为什么在提问的时候会先输出一句“NOT NEED MEMORY”,好像也不会根据数据库来做出回答? #10

Open
Erakee opened this issue Aug 15, 2023 · 1 comment

Comments

@Erakee
Copy link

Erakee commented Aug 15, 2023

(chatdb) (venv) ErakeedeMacBook-Pro:ChatDB-main erakee$ python chatdb.py
START!
USER INPUT: apple's price
NOT NEED MEMORY: ```
Step1: Retrieve the price of apple
SELECT selling_price
FROM fruits
WHERE fruit_name = 'apple';

USER INPUT: calculate the total revenue for January 2023
NOT NEED MEMORY: ```
Step1: Calculate the total revenue for January 2023
SELECT SUM(total_price) AS total_revenue
FROM sales
WHERE sale_date >= '2023-01-01' AND sale_date < '2023-02-01';
@tom68-ll
Copy link

We meet same question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants