AI Agent node#
AI agent คือระบบอัตโนมัติที่รับข้อมูล ตัดสินใจอย่างมีเหตุผล และดำเนินการภายในสภาพแวดล้อมเพื่อบรรลุเป้าหมายที่เฉพาะเจาะจง สภาพแวดล้อมของ AI agent คือทุกสิ่งที่ agent สามารถเข้าถึงได้ซึ่งไม่ใช่ตัว agent เอง Agent นี้ใช้ tools และ APIs ภายนอกเพื่อดำเนินการและดึงข้อมูล มันสามารถเข้าใจความสามารถของ tools ต่างๆ และตัดสินใจว่าจะใช้ tool ใดขึ้นอยู่กับงาน
Connect a tool
คุณต้องเชื่อมต่อ tool sub-node อย่างน้อยหนึ่งตัวเข้ากับ AI Agent node
Agent type
ก่อนเวอร์ชัน 1.82.0 AI Agent มีการตั้งค่าสำหรับการทำงานเป็น agent types ต่างๆ สิ่งนี้ได้ถูกลบออกไปแล้ว และ AI Agent nodes ทั้งหมดทำงานเป็น Tools Agent
ซึ่งเป็นค่าที่แนะนำและใช้บ่อยที่สุด หากคุณกำลังทำงานกับ AI Agent เวอร์ชันเก่าใน workflows หรือ templates ตราบใดที่ตั้งค่าเป็น 'Tools Agent' พวกมันควรจะยังคงทำงานตามที่ตั้งใจไว้กับ node ที่อัปเดตแล้ว
Templates and examples#
Related resources#
อ้างอิง LangChain's documentation on agents สำหรับข้อมูลเพิ่มเติมเกี่ยวกับบริการ
ใหม่สำหรับ AI Agents? อ่าน n8n blog introduction to AI agents
ดูเอกสาร Advanced AI ของ n8n
Common issues#
สำหรับข้อผิดพลาดหรือปัญหาทั่วไปและขั้นตอนการแก้ไขที่แนะนำ โปรดดูที่ Common Issues
AI glossary#
- completion: Completions are the responses generated by a model like GPT.
- hallucinations: Hallucination in AI is when an LLM (large language model) mistakenly perceives patterns or objects that don't exist.
- vector database: A vector database stores mathematical representations of information. Use with embeddings and retrievers to create a database that your AI can access when answering questions.
- vector store: A vector store, or vector database, stores mathematical representations of information. Use with embeddings and retrievers to create a database that your AI can access when answering questions.