File tree Expand file tree Collapse file tree
201-langchain-modules/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,6 +210,16 @@ level: 2
210210
211211<Val id =" webup.parserSampleJSONZod " />
212212
213+ ---
214+ level: 2
215+ ---
216+
217+ # Expression Language <Version >0.0.121</Version >: LLM Chain
218+
219+ 现在可以用管道直接把 Prompt ➡️ Model ➡️ Output Parser 串联起来
220+
221+ <Val id =" webup.pipeSampleLLM " />
222+
213223---
214224layout: quote
215225---
@@ -307,6 +317,36 @@ level: 2
307317
308318![ ] ( https://s2.loli.net/2023/07/30/HQx5JIGrEVPfz8R.jpg )
309319
320+ ---
321+ level: 2
322+ ---
323+
324+ # Expression Language <Version >0.0.121</Version >: LLM Chain + Retriever
325+
326+ 可以用管道直接把 Prompt ➡️ Model ➡️ Output Parser ➡️ Retriever 串联起来
327+
328+ <Val id =" webup.pipeSampleLLMRetriever " />
329+
330+ ---
331+ level: 2
332+ ---
333+
334+ # Expression Language <Version >0.0.121</Version >: LLM Chain + Retriever
335+
336+ 在上个示例中,我们将字符串输入直接传递到链路中;如希望链路接受多个输入,可以传递函数映射来解析输入
337+
338+ <Val id =" webup.pipeSampleLLMRetrieverInputs " />
339+
340+ ---
341+ level: 2
342+ ---
343+
344+ # Expression Language <Version >0.0.121</Version >: LLM Chain + Retriever
345+
346+ 在上个示例中,我们使链路接受了多个输入;我们还可以通过格式化函数添加对话历史记录
347+
348+ <Val id =" webup.pipeSampleLLMRetrieverConversation " />
349+
310350---
311351layout: quote
312352---
You can’t perform that action at this time.
0 commit comments