wishonia / wishonia

A decentralized semi-autonomous todo list for humanity
https://wishonia.love
7 stars 5 forks source link

Repo Indexing Tool / API endpoint to enable talking to the repo #29

Open mikepsinn opened 5 months ago

mikepsinn commented 5 months ago

We need to index the repository with pgvector to create a tool to allow the agents to know what's been built already and provide links to files and ask questions about the project. This will be necessary for all the coding and project management agents.

See:

https://github.com/wishonia/wishonia/blob/a6d095cbcfac2c40d0d2694c7484ea7f59af687c/public/docs/self-improving-github-repo/self-improving-github-repo.md?plain=1#L14

I made this repoAgent that generates in-memory embeddings on the fly https://github.com/wishonia/wishonia/blob/a6d095cbcfac2c40d0d2694c7484ea7f59af687c/lib/github/repoAgent.ts

But we need a solution that will avoid duplicating embeddings and wasting money.

mikepsinn commented 4 months ago

44