DEV Community· technonotes-hacker·· 2026-10-20AI 評分20
Terms - AI ( PhD )
Terms - AI ( PhD )
AI 導讀
LangChain 是協助開發者連接大語言模型與外部資料庫、API 及工具的開源協調框架;AI Agent 能使用工具並循環執行步驟以達成目標,生成式 AI 則根據提示詞產生文字、程式碼或答案。Ollama 可在電腦或伺服器上管理及執行 LLaMA 和 Qwen 模型。項目計劃以檢索增強生成(RAG)技術建構大語言模型,回答 ABC portal 上有關通函及 RBC 手冊的查詢。
正文
LangChain
- Programming Framework
- LangChain is an open-source orchestration framework designed to help developers build applications using large language models (LLMs)
- Its used by developers to connect LLMs to external databases, APIs, and tools so they can become "Agents."
- Who is the Agent here ? --> No, LangChain itself is not the agent..
- LangChain is the Operating System / Framework .
- The Agent is the running system --> "Agent" is the final, fully functional AI system.
- LangChain is an LLM framework.
Generative AI (GenAI)
- Generative AI is a tool that creates text, code, or answers based only on what you ask it to type. It cannot take action, it cannot browse live websites on its own, and it cannot click buttons. It just talks.
- Generative AI is about Thinking & Writing.
- Input Prompt → Output Text.
- RAG is a system design used within Generative AI.
AI Agent / Agentic AI
- The Autonomous Assistant.
- An AI Agent is given a final goal.
- Instead of just typing an answer, it has access to tools (like the internet, a calculator, or software applications).
- It can think in a loop: it takes a step, looks at the result, decides what to do next, fixes its own mistakes, and doesn't stop until the goal is fully achieved.
- Agentic AI (Agents) is about Thinking, Deciding, & Taking Action.
- Input Goal → Loops through Tools → Achieves final result.
Ollama
- The software that manages and runs the LLaMA and Qwen AI models on your computer or server.
Overall Structure
- Ollama and LangChain are completely different layers of the software stack.
Project Statement
The project aims to build a generative Artificial Intelligence (AI) powered Large Language Model (LLM) using Retrieval Augment Generation (RAG) technique to provide responses to user queries in ABC portal related to Master Circulars, e-Circulars and Role Based Certification (RBC) manuals as the knowledge base for the GenAI model.
Lets Dig one by one
來源:DEV Community · dev.to





















