Toot

Written by Garrick Aden-Buie on 2024-08-10 at 13:59

About to hop on a plane to head to #PositConf2024 but want a local coding assistant for inflight hacking? With #ollama and #Shiny for #Python you can bring a coding assistant with you!

  1. Download Ollama from https://ollama.com/

  1. Run ollama run llama3.1:8b to get a decent, light ~5GB model

  1. Create a Shiny app from our Ollama chat template https://shiny.posit.co/py/components/display-messages/chat/#ai-quick-start

  1. Set model="llama3.1:8b in app.py

  1. shiny run app.py

  1. Local coding assistant!

=> More informations about this toot | View the thread | More toots from grrrck@fosstodon.org

Mentions

Tags

=> View positconf2024 tag | View ollama tag | View shiny tag | View python tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/112938080545862514
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
227.56506 milliseconds
Gemini-to-HTML Time
0.623319 milliseconds

This content has been proxied by September (3851b).