allow any document
As an enhancement, why not allow any document in the documents folder to be ingested. I'm thinking .cpp .h .py would be useful.
Should be doable:
https://github.com/imartinez/privateGPT/blob/b6f007dbb882a6f9cb4e2f8fee728314c38cddfc/ingest.py#LL30C1-L32C1
Tell us how it works!
I tried it by renaming a cpp file to .txt but results were too slow, had to stop because of life.
i have renamed my php files to txt and now i ingest my full script ,it will certainly take few days but , it will help me a lot for debug and update, i hope it have same power as chatgpt for coding ...anyone have tried with coding question ?
well i have ingest 2mb of php code and the result is pretty bad
Question: make me a full analyse of controller.php Answer: In analyzing the controller.php file, I found that the code has some functions related to SQL and the use of variables for SQL statements. However, I don't find anything relevant or special in the PHP script itself.
we are far from GPT4 wich is make a full analyse of the code ...