4 ms·
I added gpt-4o support to my LLM CLI tool: pipx install llm llm keys set openai # Paste API key here llm -m 4o "Fascinate me" Or if you alread
by simonw 3y ago
I added gpt-4o support to my LLM CLI tool:
pipx install llm
llm keys set openai
# Paste API key here
llm -m 4o "Fascinate me"
Or if you already have LLM installed:
llm install --upgrade llm
You can install an older version from Homebrew and then upgrade it like that too:
brew install llm
llm install --upgrade llm
Release notes for the new version here: https://llm.datasette.io/en/stable/changelog.html#v0-14 https://llm.datasette.io/en/stable/changelog.html#v0-14
- drewbitt 3y agoWhenever I upgrade llm with brew, I usually lose all my external plugins. Should I move it to pipx?
- DanielKehoe 3y agoYes, it's a good idea to install Python tools or standalone applications with Pipx for isolation, persistence, and simplicity. See "Install Pipx" (https://mac.install.guide/python/pipx https://mac.install.guide/python/pipx).
- dheera 3y ago[flagged]
- hmaxwell 3y agousing a GPU to mine $25 of bitcoin is going to take you way more than a month
- dheera 3y agoMine some other shitcoin-of-the-week and sell it before it crashes? Fight some poor dude's traffic ticket by generating a trial-by-declaration for them? LLMs are actually likely good enough to figure out ways to make tiny amounts of their own money instead of me having to go in and punch a credit card number. $25/month isn't a very high bar. I won't be surprised if we see a billion-dollar zero-employee company in the next decade with one person as the sole shareholder.
- zenlikethat 3y agoUnless you live in a place where power is dirt cheap, you need to try harder with your own brain.
- dheera 3y agoMy point isn't about beating the cost of power. I know you can't mine bitcoin in California profitably. My point is about autonomous software that can figure out how to run itself including registering its own API key and paying for its own service. Even if it costs me $50/month in power, that's fine. I would just love to see software that can "figure it out" including the registration, captchas, payment, applying knowledge and interfacing with society to make small amounts of petty cash for said payment, everything.
- valicord 3y agoSure, let's make an AI that steals resources to survive (and spread?). What could go wrong...
- sangnoir 3y ago> My point is about autonomous software that can figure out how to run itself including registering its own API key and paying for its own service. Here is a thought experiment: if you developed such an AI, would you sell it for any amount less than it could earn for you without selling it?
- dcow 3y agoThis is called advertising and selling your data to brokers. I'm very glad "autonomous software" is not tasked with figuring out how best to exploit my physical identity and resources to make $25/mo.
- dragonwriter 3y ago> My point is about autonomous software that can figure out how to run itself including registering its own API key and paying for its own service. Most means of generating income are diluted by having multiple actors applying them, which is why someone who comes up with such an automated moneyprinter will be disincentives from sharing it. Instead, they'll just use it directly.
- ivanche 3y agoIf AI tools could figure on their own how to earn $25/month, they wouldn't need you to buy them.
- bongodongobob 3y agoYou want someone to sell you a money printer for $25 a month? What the fuck are you talking about?
- khimaros 3y agodoes this handle chat templates?
- simonw 3y agoIt has a template feature: https://llm.datasette.io/en/stable/templates.html https://llm.datasette.io/en/stable/templates.html
- anotherpaulg 3y agoI like that use of `runpy` to invoke pip for the self upgrade capability. I used `sys.executable` for a similar purpose. https://github.com/paul-gauthier/aider/blob/ebeec04caee7ebe420d6283b44004b7a8f056695/aider/versioncheck.py#L24 https://github.com/paul-gauthier/aider/blob/ebeec04caee7ebe4...