I was looking back at some old lemmee posts and came across GPT4All. Didn’t get much sleep last night as it’s awesome, even on my old (10yo) laptop with a Compute 5.0 NVidia card.

Still, I’m after more, I’d like to be able to get image creation and view it in the conversation, if it generates python code, to be able to run it (I’m using Debian, and have a default python env set up). Local file analysis also useful. CUDA Compute 5.0 / vulkan compatibility needed too.

Is there anything that can tick the boxes? Even if I have to scoot across models for some of the features?

  • TMP_NKcYUEoM7kXg4qYe@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 days ago

    You can tell Open Interpreter to run commands based on you human-language input. If you want local only LLM, you can pair it with Ollama. It works for “interactive” use where you’re asked for confirmation before a command is run.

    I set this up in a VM because I wanted a full automatic coding “agent” which can run commands without my intervention and I did not want it to blow up main system. It did not really work though because as far as I know Open Interpreter does not have a way to “pipe” a command’s output back into the LLM so that it could create feedback with linters and stuff.

    Another issue was that Starcoder2, which is the only LLM trained on permissive licensed code I could find, only has a 15B “human-like” model. The smaller models only speak code so I don’t know how that would work for agentic usage and the 15B is really slow running on DDR4 CPU. I think agents are cool though so I would like to try Aider which is a supposedly good open source agent and unlike Open Interpreter is not abandonware.

    Thanks for coming to my blabering talk, hope this might be useful for someone.

    • catty@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

      This looks interesting - do you have experience of it? How reliable / efficient is it?

  • ViatorOmnium@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 days ago

    The main limitation is the VRAM, but I doubt any model is going to be particularly fast.

    I think phi3:mini on ollama might be an okish fit for python, since it’s a small model, but was trained on python codebases.

    • catty@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      I’m getting very-near real-time on my old laptop. Maybe a delay of 1-2s whilst it creates the response

    • otacon239@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      I also started using this recently and it’s very plot and play. Just open and run. It’s the only client so far that feels like I could recommend to non-geeks.

  • andrew0@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 days ago

    Ollama for API, which you can integrate into Open WebUI. You can also integrate image generation with ComfyUI I believe.

    It’s less of a hassle to use Docker for Open WebUI, but ollama works as a regular CLI tool.

    • catty@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      6 days ago

      But won’t this be a mish-mash of different docker containers and projects creating an installation, dependency, upgrade nightmare?

      • andrew0@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 days ago

        All the ones I mentioned can be installed with pip or uv if I am not mistaken. It would probably be more finicky than containers that you can put behind a reverse proxy, but it is possible if you wish to go that route. Ollama will also run system-wide, so any project will be able to use its API without you having to create a separate environment and download the same model twice in order to use it.

    • O_R_I_O_N@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      7 days ago

      ChainLit is a super ez UI too. Ollama works well with Semantic Kernal (for integration with existing code) and langChain (for agent orchestration). I’m working on building MCP interaction with ComfyUI’s API, it’s a pain in the ass.