gptscript-ai / knowledge

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

Fix ingest bugs, run go imports #19

Closed StrongMonkey closed 4 months ago

StrongMonkey commented 4 months ago

When ingesting markdown files, due to a bug in transform some chunks are added multiple times with duplicates. This will cause retrieve process to return duplicate results, impacting its ability to return the relevant information. This PR fixes the transformer bug.

It also runs goimports on all the files to format imports.