dsh-hackertube 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +27 -2
- package/README.md +27 -2
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -112,13 +112,38 @@ Likes, watch later, and history live on the host side, so clearing browser data
|
|
|
112
112
|
|
|
113
113
|
The plugin registers a tool named `hackertube_search`. Once installed, your agent can search this video library from any conversation, without opening the panel.
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
### One full exchange
|
|
116
|
+
|
|
117
|
+
You ask:
|
|
118
|
+
|
|
119
|
+
> Which video should I actually watch to understand backpropagation?
|
|
120
|
+
|
|
121
|
+
The agent calls `hackertube_search({ query: "backpropagation", limit: 5, lang: "en" })`, and the tool returns (excerpt):
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
1. The spelled-out intro to neural networks and backpropagation: building micrograd — Andrej Karpathy · 146 min · 4.4M views · 17 recommenders
|
|
125
|
+
HN: HN treats it as the best starting point for really understanding backprop and neural nets…
|
|
126
|
+
https://www.youtube.com/watch?v=VMj-3S1tku0
|
|
127
|
+
|
|
128
|
+
2. Backpropagation, intuitively | Deep Learning Chapter 3 — 3Blue1Brown · 13 min · 6.4M views · 4 recommenders
|
|
129
|
+
HN: Recommended as the most accessible introduction to backprop for people who struggle with the pure math.
|
|
130
|
+
https://www.youtube.com/watch?v=Ilg3gGewQ5U
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
The agent answers:
|
|
134
|
+
|
|
135
|
+
> Start with Karpathy's "building micrograd", 146 min. It has 17 recommenders, the strongest signal HN gives, and it builds backpropagation from scratch in code instead of explaining it on paper. If you want the intuition first, watch the 3Blue1Brown chapter (13 min) before it.
|
|
136
|
+
> https://www.youtube.com/watch?v=VMj-3S1tku0
|
|
137
|
+
|
|
138
|
+
### Good requests for it
|
|
116
139
|
|
|
117
140
|
- Any talk explaining Raft consensus
|
|
118
141
|
- A few lectures on compiler optimization
|
|
119
142
|
- Which Karpathy video covers backpropagation
|
|
120
143
|
|
|
121
|
-
|
|
144
|
+
### What it does
|
|
145
|
+
|
|
146
|
+
Searches titles, channels, tags and categories in English and Chinese, plus each video's summary and Hacker News recommendation note. Results carry title, channel, duration, view count, recommender count, the recommendation note and a link, ordered by how strongly Hacker News recommends them. Chinese queries work, and titles come back in Chinese when a translation exists.
|
|
122
147
|
|
|
123
148
|
| Parameter | Meaning |
|
|
124
149
|
|---|---|
|
package/README.md
CHANGED
|
@@ -112,13 +112,38 @@ DSH 从 profile 目录加载插件,在普通项目里安装不会生效。需
|
|
|
112
112
|
|
|
113
113
|
插件注册了一个工具 `hackertube_search`。装了插件之后,不用打开面板,agent 在对话里就能检索这个视频库。
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
### 一次完整的对话
|
|
116
|
+
|
|
117
|
+
你问:
|
|
118
|
+
|
|
119
|
+
> 有没有讲 Raft 共识算法的视频?最好是作者本人讲的。
|
|
120
|
+
|
|
121
|
+
agent 调用 `hackertube_search({ query: "Raft 共识算法", limit: 5 })`,工具返回(节选):
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
1. Paxos 讲座(Raft 用户研究) — Diego Ongaro · 67 分钟 · 11.4 万次观看 · 6 人推荐
|
|
125
|
+
HN:Recommended as a clear, lucid way to learn Paxos and Multi-Paxos…
|
|
126
|
+
https://www.youtube.com/watch?v=JEpsBg0AO6o
|
|
127
|
+
|
|
128
|
+
2. Raft 讲座(Raft 用户研究) — Diego Ongaro · 58 分钟 · 8.7 万次观看 · 4 人推荐
|
|
129
|
+
HN:HN commenters recommend it as a clearer introduction to Raft than the paper…
|
|
130
|
+
https://www.youtube.com/watch?v=YbZ3zDzDnrw
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
agent 据此回答:
|
|
134
|
+
|
|
135
|
+
> 有,而且就是 Raft 作者 Diego Ongaro 本人讲的。先看第二个《Raft 讲座》,58 分钟,HN 上的评论说它比读论文好懂;它和第一个《Paxos 讲座》是同一套课程,通常一起看。
|
|
136
|
+
> https://www.youtube.com/watch?v=YbZ3zDzDnrw
|
|
137
|
+
|
|
138
|
+
### 适合这类请求
|
|
116
139
|
|
|
117
140
|
- 有没有讲 Raft 共识算法的视频
|
|
118
141
|
- 找几个讲编译器优化的演讲
|
|
119
142
|
- Karpathy 讲反向传播的是哪一个
|
|
120
143
|
|
|
121
|
-
|
|
144
|
+
### 它做什么
|
|
145
|
+
|
|
146
|
+
按中英文检索标题、频道、标签、分类,以及每个视频的简介和 HN 推荐理由,返回标题、频道、时长、观看量、HN 推荐人数、推荐理由与链接,并按 HN 推荐强度排序。中文查询也能命中,结果里的标题会显示中文译文。
|
|
122
147
|
|
|
123
148
|
| 参数 | 说明 |
|
|
124
149
|
|---|---|
|