I'm working on a CLI now. The pattern I used was this: 1) made a docs command that printed out the path of the available docs $ my-cli docs - README.md - DOC1.md - dir2/DOC2.md 2) added a --path flag to print out a specific doc (tried to keep each doc less than 400 lines). $ my-cli docs --path dir2/DOC2.md # Contents of DOC2.md 3) added embeddings so I could do semantic search $ my-cli search "how do I install x?" [1…
I really like this - especially the embedded search. What do the embeddings and model cost you in terms of binary size ?
Not schilling, just easier to show you the repo since it's open source. https://github.com/coast-guard/coasts