Skip to content

Commit b32c12e

Browse files
committed
webrtc
1 parent f210547 commit b32c12e

File tree

138 files changed

+1885
-813
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+1885
-813
lines changed

python/Dominate.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
pip install dominate
1515

1616
</pre>
17-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id983"></a>6.4.1. 创建一个 HTML</h3></div></div></div>
17+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id995"></a>6.4.1. 创建一个 HTML</h3></div></div></div>
1818

1919
<pre class="programlisting">
2020

@@ -72,7 +72,7 @@
7272

7373
</pre>
7474
</div>
75-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id984"></a>6.4.2. dominate</h3></div></div></div>
75+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id996"></a>6.4.2. dominate</h3></div></div></div>
7676

7777
<pre class="programlisting">
7878

@@ -98,7 +98,7 @@
9898

9999
</pre>
100100
</div>
101-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id985"></a>6.4.3. HTML Table</h3></div></div></div>
101+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id997"></a>6.4.3. HTML Table</h3></div></div></div>
102102

103103
<pre class="programlisting">
104104

@@ -122,7 +122,7 @@
122122

123123
</pre>
124124
</div>
125-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id986"></a>6.4.4. UL/LI</h3></div></div></div>
125+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id998"></a>6.4.4. UL/LI</h3></div></div></div>
126126

127127
<pre class="programlisting">
128128

@@ -143,7 +143,7 @@
143143

144144
</pre>
145145
</div>
146-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id987"></a>6.4.5. Dominate 与 Flask 集成</h3></div></div></div>
146+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id999"></a>6.4.5. Dominate 与 Flask 集成</h3></div></div></div>
147147

148148
<p>生成动态网页内容</p>
149149
<pre class="programlisting">
@@ -172,7 +172,7 @@
172172

173173
</pre>
174174
</div>
175-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id988"></a>6.4.6. 装饰器</h3></div></div></div>
175+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id1000"></a>6.4.6. 装饰器</h3></div></div></div>
176176

177177
<pre class="programlisting">
178178

@@ -191,9 +191,9 @@
191191

192192
</pre>
193193
</div>
194-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id990"></a>6.4.7. HTML 标记</h3></div></div></div>
194+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id1002"></a>6.4.7. HTML 标记</h3></div></div></div>
195195

196-
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="id989"></a>6.4.7.1. html()</h4></div></div></div>
196+
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="id1001"></a>6.4.7.1. html()</h4></div></div></div>
197197

198198
<pre class="programlisting">
199199

python/LangChain/ch19s02.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
22
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>19.2. 拆分文档</title><link rel="stylesheet" type="text/css" href="../docbook.css" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><meta name="keywords" content="php,pear,pecl,phar, python, , " /><link rel="home" href="../index.html" title="Netkiller Python 手札" /><link rel="up" href="index.html" title="第 19 章 LangChain" /><link rel="prev" href="index.html" title="第 19 章 LangChain" /><link rel="next" href="LangChain.OpenAI.html" title="19.3. ChatGPT" /></head><body><a xmlns="" href="//www.netkiller.cn/">Home</a> | <a xmlns="" href="//netkiller.github.io/">简体中文</a> | <a xmlns="" href="http://netkiller.sourceforge.net/">繁体中文</a> | <a xmlns="" href="/journal/index.html">杂文</a>
3-
| <a xmlns="" href="https://github.com/netkiller">Github</a> | <a xmlns="" href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a> | <a xmlns="" href="https://www.facebook.com/bg7nyt">Facebook</a> | <a xmlns="" href="http://cn.linkedin.com/in/netkiller/">Linkedin</a> | <a xmlns="" href="https://www.youtube.com/user/bg7nyt/videos">Youtube</a> | <a xmlns="" href="//www.netkiller.cn/home/donations.html">打赏(Donations)</a> | <a xmlns="" href="//www.netkiller.cn/home/about.html">About</a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">19.2. 拆分文档</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">上一页</a> </td><th width="60%" align="center">第 19 章 LangChain</th><td width="20%" align="right"> <a accesskey="n" href="LangChain.OpenAI.html">下一页</a></td></tr></table><hr /></div><table xmlns=""><tr><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=watch&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=fork&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;type=follow&amp;count=true&amp;size=large" height="30" width="240" frameborder="0" scrolling="0" style="width:240px; height: 30px;" allowTransparency="true"></iframe></td><td></td><td><a href="https://zhuanlan.zhihu.com/netkiller"><img src="/images/logo/zhihu-card-default.svg" height="25" /></a></td><td valign="middle"><a href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a></td><td></td><td></td><td></td><td></td></tr></table><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id4401"></a>19.2. 拆分文档</h2></div></div></div>
3+
| <a xmlns="" href="https://github.com/netkiller">Github</a> | <a xmlns="" href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a> | <a xmlns="" href="https://www.facebook.com/bg7nyt">Facebook</a> | <a xmlns="" href="http://cn.linkedin.com/in/netkiller/">Linkedin</a> | <a xmlns="" href="https://www.youtube.com/user/bg7nyt/videos">Youtube</a> | <a xmlns="" href="//www.netkiller.cn/home/donations.html">打赏(Donations)</a> | <a xmlns="" href="//www.netkiller.cn/home/about.html">About</a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">19.2. 拆分文档</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">上一页</a> </td><th width="60%" align="center">第 19 章 LangChain</th><td width="20%" align="right"> <a accesskey="n" href="LangChain.OpenAI.html">下一页</a></td></tr></table><hr /></div><table xmlns=""><tr><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=watch&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=fork&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;type=follow&amp;count=true&amp;size=large" height="30" width="240" frameborder="0" scrolling="0" style="width:240px; height: 30px;" allowTransparency="true"></iframe></td><td></td><td><a href="https://zhuanlan.zhihu.com/netkiller"><img src="/images/logo/zhihu-card-default.svg" height="25" /></a></td><td valign="middle"><a href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a></td><td></td><td></td><td></td><td></td></tr></table><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id4478"></a>19.2. 拆分文档</h2></div></div></div>
44

5-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id1191"></a>19.2.1. 拆分文本</h3></div></div></div>
5+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id1205"></a>19.2.1. 拆分文本</h3></div></div></div>
66

77
<pre class="programlisting">
88

@@ -29,7 +29,7 @@
2929

3030
</pre>
3131
</div>
32-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id1192"></a>19.2.2. 拆分代码</h3></div></div></div>
32+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id1206"></a>19.2.2. 拆分代码</h3></div></div></div>
3333

3434
<pre class="programlisting">
3535

@@ -48,7 +48,7 @@
4848

4949
</pre>
5050
</div>
51-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id1193"></a>19.2.3. 拆分 Markdown 文档</h3></div></div></div>
51+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id1207"></a>19.2.3. 拆分 Markdown 文档</h3></div></div></div>
5252

5353
<pre class="programlisting">
5454

@@ -65,7 +65,7 @@
6565

6666
</pre>
6767
</div>
68-
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id1194"></a>19.2.4. 按token拆分</h3></div></div></div>
68+
<div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="id1208"></a>19.2.4. 按token拆分</h3></div></div></div>
6969

7070
<p>例如 OpenAI 的 token 有字数限制。在API调用时不应超过 token 限制,使用 from_tiktoken_encoder 可以解决这个问题。</p>
7171
<pre class="programlisting">

python/LangChain/ch19s04.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
22
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>19.4. 相似度搜索</title><link rel="stylesheet" type="text/css" href="../docbook.css" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><meta name="keywords" content="php,pear,pecl,phar, python, , " /><link rel="home" href="../index.html" title="Netkiller Python 手札" /><link rel="up" href="index.html" title="第 19 章 LangChain" /><link rel="prev" href="LangChain.OpenAI.html" title="19.3. ChatGPT" /><link rel="next" href="../graphics.html" title="第 20 章 图形开发" /></head><body><a xmlns="" href="//www.netkiller.cn/">Home</a> | <a xmlns="" href="//netkiller.github.io/">简体中文</a> | <a xmlns="" href="http://netkiller.sourceforge.net/">繁体中文</a> | <a xmlns="" href="/journal/index.html">杂文</a>
3-
| <a xmlns="" href="https://github.com/netkiller">Github</a> | <a xmlns="" href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a> | <a xmlns="" href="https://www.facebook.com/bg7nyt">Facebook</a> | <a xmlns="" href="http://cn.linkedin.com/in/netkiller/">Linkedin</a> | <a xmlns="" href="https://www.youtube.com/user/bg7nyt/videos">Youtube</a> | <a xmlns="" href="//www.netkiller.cn/home/donations.html">打赏(Donations)</a> | <a xmlns="" href="//www.netkiller.cn/home/about.html">About</a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">19.4. 相似度搜索</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="LangChain.OpenAI.html">上一页</a> </td><th width="60%" align="center">第 19 章 LangChain</th><td width="20%" align="right"> <a accesskey="n" href="../graphics.html">下一页</a></td></tr></table><hr /></div><table xmlns=""><tr><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=watch&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=fork&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;type=follow&amp;count=true&amp;size=large" height="30" width="240" frameborder="0" scrolling="0" style="width:240px; height: 30px;" allowTransparency="true"></iframe></td><td></td><td><a href="https://zhuanlan.zhihu.com/netkiller"><img src="/images/logo/zhihu-card-default.svg" height="25" /></a></td><td valign="middle"><a href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a></td><td></td><td></td><td></td><td></td></tr></table><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id4418"></a>19.4. 相似度搜索</h2></div></div></div>
3+
| <a xmlns="" href="https://github.com/netkiller">Github</a> | <a xmlns="" href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a> | <a xmlns="" href="https://www.facebook.com/bg7nyt">Facebook</a> | <a xmlns="" href="http://cn.linkedin.com/in/netkiller/">Linkedin</a> | <a xmlns="" href="https://www.youtube.com/user/bg7nyt/videos">Youtube</a> | <a xmlns="" href="//www.netkiller.cn/home/donations.html">打赏(Donations)</a> | <a xmlns="" href="//www.netkiller.cn/home/about.html">About</a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">19.4. 相似度搜索</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="LangChain.OpenAI.html">上一页</a> </td><th width="60%" align="center">第 19 章 LangChain</th><td width="20%" align="right"> <a accesskey="n" href="../graphics.html">下一页</a></td></tr></table><hr /></div><table xmlns=""><tr><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=watch&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;repo=netkiller.github.io&amp;type=fork&amp;count=true&amp;size=large" height="30" width="170" frameborder="0" scrolling="0" style="width:170px; height: 30px;" allowTransparency="true"></iframe></td><td><iframe src="//ghbtns.com/github-btn.html?user=netkiller&amp;type=follow&amp;count=true&amp;size=large" height="30" width="240" frameborder="0" scrolling="0" style="width:240px; height: 30px;" allowTransparency="true"></iframe></td><td></td><td><a href="https://zhuanlan.zhihu.com/netkiller"><img src="/images/logo/zhihu-card-default.svg" height="25" /></a></td><td valign="middle"><a href="https://zhuanlan.zhihu.com/netkiller">知乎专栏</a></td><td></td><td></td><td></td><td></td></tr></table><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id4495"></a>19.4. 相似度搜索</h2></div></div></div>
44

55
<pre class="programlisting">
66

0 commit comments

Comments
 (0)