Skip to content

Commit 71ada33

Browse files
committedApr 9, 2023
add title for lecture 17 in different section
1 parent 0404214 commit 71ada33

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
 

‎17_langchain_agent.ipynb

+48
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
{
22
"cells": [
3+
{
4+
"attachments": {},
5+
"cell_type": "markdown",
6+
"metadata": {},
7+
"source": [
8+
"## 选择题"
9+
]
10+
},
311
{
412
"cell_type": "code",
513
"execution_count": 8,
@@ -104,6 +112,14 @@
104112
"print(choice_chain(question))"
105113
]
106114
},
115+
{
116+
"attachments": {},
117+
"cell_type": "markdown",
118+
"metadata": {},
119+
"source": [
120+
"## Agent实现"
121+
]
122+
},
107123
{
108124
"cell_type": "code",
109125
"execution_count": 13,
@@ -236,6 +252,14 @@
236252
"print(result)"
237253
]
238254
},
255+
{
256+
"attachments": {},
257+
"cell_type": "markdown",
258+
"metadata": {},
259+
"source": [
260+
"## 通过max_iterations限制重试次数"
261+
]
262+
},
239263
{
240264
"cell_type": "code",
241265
"execution_count": 18,
@@ -274,6 +298,14 @@
274298
"print(\"===\")"
275299
]
276300
},
301+
{
302+
"attachments": {},
303+
"cell_type": "markdown",
304+
"metadata": {},
305+
"source": [
306+
"## 通过VectorDBQA让Tool支持问答"
307+
]
308+
},
277309
{
278310
"cell_type": "code",
279311
"execution_count": 19,
@@ -565,6 +597,14 @@
565597
"print(answer)"
566598
]
567599
},
600+
{
601+
"attachments": {},
602+
"cell_type": "markdown",
603+
"metadata": {},
604+
"source": [
605+
"## 优化Prompt让AI不要胡思乱想"
606+
]
607+
},
568608
{
569609
"cell_type": "code",
570610
"execution_count": 31,
@@ -762,6 +802,14 @@
762802
"print(answer)"
763803
]
764804
},
805+
{
806+
"attachments": {},
807+
"cell_type": "markdown",
808+
"metadata": {},
809+
"source": [
810+
"## 通过多轮对话实现订单查询"
811+
]
812+
},
765813
{
766814
"cell_type": "code",
767815
"execution_count": 36,

0 commit comments

Comments
 (0)
Please sign in to comment.