huchenxucs / ChatDB

The official repository of "ChatDB: Augmenting LLMs with Databases as Their Symbolic Memory".
https://chatdatabase.github.io/
534 stars 46 forks source link

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

Open Erakee opened 1 year ago

Erakee commented 1 year ago

(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 commented 1 year ago

We meet same question.