LLM-hacker-news:用于从 Hacker News 获取内容的 LLM 插件
LLM-hacker-news: LLM plugin for pulling content from Hacker News

原始链接: https://github.com/simonw/llm-hacker-news

LLM插件,用于从Hacker News拉取内容。在与LLM相同的环境中安装此插件。 llm install llm-hacker-news 你可以使用hn:片段以及对话ID将Hacker News的完整对话线程馈送到LLM。例如: llm -f hn:43615912 '带有说明性直接引语的摘要' 可以在对话线程的URL中找到项目ID。 要本地设置此插件,首先检出代码。然后创建一个新的虚拟环境: cd llm-hacker-news python -m venv venv source venv/bin/activate 现在安装依赖项和测试依赖项:(此处省略了依赖项安装命令,原文缺失) 运行测试:(此处省略了测试运行命令,原文缺失)

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 LLM-hacker-news:用于从 Hacker News 获取内容的 LLM 插件 (github.com/simonw) 8 分,来自 kwiktrip,1 小时前 | 隐藏 | 过去 | 收藏 | 讨论 加入我们,参加 6 月 16-17 日在旧金山举办的 AI 初创公司学校! 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:

原文

PyPI Changelog Tests License

LLM plugin for pulling content from Hacker News

Install this plugin in the same environment as LLM.

llm install llm-hacker-news

You can feed a full conversation thread from Hacker News into LLM using the hn: fragment with the ID of the conversation. For example:

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

Item IDs can be found in the URL of the conversation thread.

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-hacker-news
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

To run the tests:

联系我们 contact @ memedata.com