BuilderIO / ai-shell

A CLI that converts natural language to shell commands.
MIT License
4.04k stars 257 forks source link

Run locally, for free #17

Open knoopx opened 1 year ago

knoopx commented 1 year ago

Have you considered using langchain+some truely-open source model?

there's also a JS port of langchan + alpaca: https://github.com/linonetwo/langchain-alpaca

can't recommend any use-case specific open model but perhaps this is something that could be easily fine-tuned by feeding man pages+examples?

steve8708 commented 1 year ago

would love this. would be great to support choosing between different models (including free/oss ones) via configs (kinda like on nat.dev). interested in sending a PR for that?

steve8708 commented 1 year ago

this could also be tied to #15

knoopx commented 1 year ago

by integrating langchain you get multi-model support + prompt templating + lots of other stuff this project might not need. also not sure how complete/compatible the JS version is, only used the python implementation.

steve8708 commented 1 year ago

Absolutely, PRs welcome with any improvements you have in mind!

AlaEddineBoughanmmi commented 1 year ago

hey @knoopx working on this ? or anyone else?

I'm interested in a PR if no one is currently working on it.

knoopx commented 1 year ago

@AlaEddineBoughanmmi no I don't, honestly I would rather wait until things seattle a little bit, too much stuff going on right now. reasons here: https://www.reddit.com/r/Oobabooga/comments/12h6pfb/the_llama_tokenizer_needs_to_be_reconverted_in/

AlaEddineBoughanmmi commented 1 year ago

I agree