PicoCreator / smol-dev-js

Smol personal AI, for smol incremental tasks in a JS project
MIT License
322 stars 52 forks source link

read incremental.md spec if instructions=md #10

Closed tiagoefreitas closed 1 year ago

tiagoefreitas commented 1 year ago

This is an ugly quick hack but works for me, I created a file incremental.md with the spec of what I want it to do, type 'md' in the terminal and it reads the file

Ideally I want to have a folder with several files so I can add library documentation. But an advanced system would use embeddings on the docs and library repos to create a more compact context.

Instead of reinventing the wheel its best to use llama-index and/or langchain to create the retrieval agent and smol only takes care of implementing changes in the repo.

PicoCreator commented 1 year ago

Yea at some point , probably should rewrite this with langchain.js

Im just not familiar with that yet at the moment