gptscript-ai / knowledge

Knowledge for GPTScript
https://gptscript-ai.github.io/knowledge/
Apache License 2.0
24 stars 11 forks source link

Fix: recursively search files by default, fix file ingestion with edit #29

Closed StrongMonkey closed 3 months ago

StrongMonkey commented 3 months ago

This PR fixes two things:

  1. Recursively run askDir/ingest by default.
  2. When ingesting duplicated files with changes, we don't prune the old content. This caused old content being present again in dataset, impacting the query.