LangFlow Tutorial
2023-11-28
LangChain及LangFlow使用指南
https://www.eula.club/blogs/LangChain及LangFlow使用指南.html#_1-langchain框架的介绍与使用
2023-12-12
文件中的範例請參考: Flowchart (updated@ 2023-12-12)
測試用csv檔案請參考: error_code.csv or error_code_English.csv
Flowchart說明
![image]
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
-
LocalFileLoader
- 從本地端挑選檔案並且上傳(支援csv、json、txt、pdf、pptx、docx)
-
AzureOpenAIEmbeddings
[*註1]
- 用以串接Azure API,調用Azure提供的語言模型
- 此場景用途:提供文件理解與抽取資訊的功能,例如: pdf, txt, 資料庫等
-
AzureChatOpenAI
[*註2]
- 用以串接Azure API,調用Azure提供的語言模型
- 此場景用途:提供聊天導向的語意理解與問答
-
CombineDocsChain
- 整合載入的文件以實現後續的問答功能
- 詳細請參考: CombineDocsChain
-
PGVector
[*註3]
- 提供串接pgvector功能
- 可指定連接欄位以及目標Table
-
RetrievalQA
- 讀取已整合的文件資料,並從中檢索資訊以實現文本問答
-
Tool
- 將Chain、Agent或者Function封裝成tool
- 方便提供Agent更多的可用工具
-
AgentInitializer
[*註4]
- 這是一種從語言模型 (LLM) 和工具建立零樣本代理(zero-shot agent)的快速方法
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
AzureOpenAIEmbeddings填寫範例[*註1]
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
AzureChatOpenAI填寫範例[*註2]
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
PGVector填寫範例[*註3]
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
What is an Agent? [*註4]
更多資訊請參考: Agents
代理(Agents)是一個會使用推理(reasoning)來做出決策和採取行動的元件,旨在以某種程度的「自主」(或代理)執行任務或提供服務。它們能提供 LLM 額外的強大功能,例如調用 API、Google搜尋,甚至串接資料庫等外部工具。
QA (Question Answering) :
- 請問1007是什麼錯誤?
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →