kingjulio8238 / Memary

Making Agents Reliable In Production.
https://www.memarylabs.com
MIT License
1.15k stars 82 forks source link

Make memary free to use through Llama 3 8B and Ollama #31

Closed kingjulio8238 closed 1 month ago

kingjulio8238 commented 2 months ago

memary uses GPT 4 for most LLM calls which doesn't allow the community to use memary for free. It would be highly beneficial to see a shift from using GPT 4 to Llama 3 8B. We would also like to see LLaVA being used for the agent's vision tool.

Additionally, we would like the community to be able to run these models locally and there's no better way than using Ollama. LLaVa (original and fine-tuned) can be found here: https://ollama.com/library?q=llava

Main Changes:

  1. Replace GPT 4 with Llama 3 8B
  2. Replace gpt-4-preview with LLaVa for agent's vision tool
  3. Host these models locally using Ollama
kingjulio8238 commented 2 months ago

see PR #19 for reference.

kevinl424 commented 2 months ago

Update

Instead of replacing GPT 4 and gpt-4-preview with Llama 3 8B and LLaVa respectively, include a model setup functionality for users to choose which models and keys they want to provide. Allows for more flexibility for end users.

shreybirmiwal commented 2 months ago

Started on pr #32 but a little stuck for now