跳到正文
GitHub·· 6 天前AI 评分15

AI-FLUENCY 项目对比普通聊天机器人、规则工作流与 AI Agent 三种课程费用助手方案

madhuvidhyapad24-cloud/AI-FLUENCY

AI 导读

GitHub 项目 AI-FLUENCY 用同一课程费用场景演示三种 AI 助手实现:普通 LLM 聊天机器人、基于 Python 预定义规则的 workflow,以及带工具调用和多步执行的 AI Agent。Agent 配备 get_course_fee() 与 calculator() 两个工具,技术栈为 Python、Groq、OpenAI SDK 和 Tool Calling。

正文

Plain Chatbot vs Rule-Based Workflow vs AI Agent

This project demonstrates three approaches to building an AI-powered college course-fee assistant:

  • Plain LLM Chatbot – Uses an LLM for natural-language responses.
  • Rule-Based Workflow – Uses predefined Python rules.
  • AI Agent – Uses an LLM with tools and multi-step execution.

Course Data

Course Fee
CS101 ₹12,000
AI202 ₹18,000
DS303 ₹15,000

AI Agent Tools

  • get_course_fee() – Retrieves course fees.
  • calculator() – Performs arithmetic calculations.

Technologies

Python • Groq • OpenAI SDK • Tool Calling • Git • GitHub

Project Structure

AI-FLUENCY/
├── Output/
├── agent.py
├── chatbot.py
├── workflow.py
├── tools.py
├── config.py
├── check_setup.py
├── analysis.md
├── requirements.txt
└── .gitignore

来源:GitHub · github.com