Skip to content

搞英语 → 看世界

翻译英文优质信息和名人推特

Menu
  • 首页
  • 作者列表
  • 独立博客
  • 专业媒体
  • 名人推特
  • 邮件列表
  • 关于本站
Menu

LLM-黑客新闻

Posted on 2025-04-08

LLM-黑客新闻

我构建了这个新插件来练习我添加到LLM 0.24 的新的register_fragment_loaders()插件挂钩。它是相当于Bash 脚本的插件,我过去 18 个月一直用它来总结Hacker News对话。

你可以这样使用它:

 llm install llm-hacker-news llm -f hn:43615912 'summary with illustrative direct quotes'

您可以在本期中看到输出。

该插件注册一个hn:前缀 – 将其与 Hacker News 对话的 ID 结合起来,将该对话拉入上下文中。

它使用 Algolia Hacker News API,它返回这样的 JSON 。它不是将 JSON 直接提供给 LLM,而是将其转换为希望对 LLM 更友好的格式,类似于插件测试中的示例:

 [1] BeakMaster: Fish Spotting Techniques [1.1] CoastalFlyer: The dive technique works best when hunting in shallow waters. [1.1.1] PouchBill: Agreed. Have you tried the hover method near the pier? [1.1.2] WingSpan22: My bill gets too wet with that approach. [1.1.2.1] CoastalFlyer: Try tilting at a 40° angle like our Australian cousins. [1.2] BrownFeathers: Anyone spotted those "silver fish" near the rocks? [1.2.1] GulfGlider: Yes! They're best caught at dawn. Just remember: swoop > grab > lift

这种格式是由克劳德(Claude)建议的,然后他为我编写了大部分插件实现。这是克劳德的文字记录。

标签: llm 、插件、黑客新闻、 ai 、 llms 、人工智能辅助编程、生成人工智能、项目、人类、克劳德

原文: https://simonwillison.net/2025/Apr/8/llm-hacker-news/#atom-everything

本站文章系自动翻译,站长会周期检查,如果有不当内容,请点此留言,非常感谢。
  • Abhinav
  • Abigail Pain
  • Adam Fortuna
  • Alberto Gallego
  • Alex Wlchan
  • Answer.AI
  • Arne Bahlo
  • Ben Carlson
  • Ben Kuhn
  • Bert Hubert
  • Bits about Money
  • Brian Krebs
  • ByteByteGo
  • Chip Huyen
  • Chips and Cheese
  • Christopher Butler
  • Colin Percival
  • Cool Infographics
  • Dan Sinker
  • David Walsh
  • Dmitry Dolzhenko
  • Dustin Curtis
  • eighty twenty
  • Elad Gil
  • Ellie Huxtable
  • Ethan Dalool
  • Ethan Marcotte
  • Exponential View
  • FAIL Blog
  • Founder Weekly
  • Geoffrey Huntley
  • Geoffrey Litt
  • Greg Mankiw
  • Henrique Dias
  • Hypercritical
  • IEEE Spectrum
  • Investment Talk
  • Jaz
  • Jeff Geerling
  • Jonas Hietala
  • Josh Comeau
  • Lenny Rachitsky
  • Liz Danzico
  • Lou Plummer
  • Luke Wroblewski
  • Matt Baer
  • Matt Stoller
  • Matthias Endler
  • Mert Bulan
  • Mostly metrics
  • News Letter
  • NextDraft
  • Non_Interactive
  • Not Boring
  • One Useful Thing
  • Phil Eaton
  • Product Market Fit
  • Readwise
  • ReedyBear
  • Robert Heaton
  • Rohit Patel
  • Ruben Schade
  • Sage Economics
  • Sam Altman
  • Sam Rose
  • selfh.st
  • Shtetl-Optimized
  • Simon schreibt
  • Slashdot
  • Small Good Things
  • Steve Blank
  • Taylor Troesh
  • Telegram Blog
  • The Macro Compass
  • The Pomp Letter
  • thesephist
  • Thinking Deep & Wide
  • Tim Kellogg
  • Understanding AI
  • Wes Kao
  • 英文媒体
  • 英文推特
  • 英文独立博客
©2025 搞英语 → 看世界 | Design: Newspaperly WordPress Theme