wishonia / wishonia

Human and artificial collective intelligence and action to maximize median health and happiness
https://wishonia.love
4 stars 4 forks source link

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

Open mikepsinn opened 1 month ago

mikepsinn commented 1 month 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 1 month ago

44