rig
rig copied to clipboard
feat: add local model support and examples
this PR adds a client
impl for calling local models, such as ollama and lm studio. it also duplicates some examples, such as simple chat, embeddings and tools calls. it also adds a collab example with local models, that demonstrates models working together to find a good prompt for themselves.
I have verified all of the examples work for me, on an M1 Max w/ ollama latest.