AI Compare
​
​
ToolsArticlesServices
Best for
    All tools

    Sales

    AI tools for finding leads, qualifying them, preparing quotes, following up and keeping the CRM up to date.

    Marketing

    AI tools for content, social media, images, video, SEO and campaigns.

    Customer service

    AI tools for answering customer emails, chats and calls, handling requests and escalating the hard cases.

    Operations

    AI tools for running the daily work: workflows, scheduling, projects, purchasing and delivery.

    Finance

    AI tools for invoices, bookkeeping, reconciliation, spreadsheets and financial reporting.

    Management & Admin

    AI tools for owners, managers and office staff: planning, reports, documents, meetings, scheduling and everyday admin.

    HR

    AI tools for hiring, screening candidates, onboarding, training and answering employee questions.

    Legal & Compliance

    AI tools for reviewing contracts, tracking deadlines and preparing compliance work for a qualified person to check.

    IT & Development

    AI tools for developers and IT teams: coding, AI models, agents, infrastructure and integrations.

Find AI tools for your team
AllAssistantsWriting & DocsImagesVideoAudioAI AgentsAutomationCode
← Back to tools

•

2023-05-19

chatbot logo

chatbot

Not rated yet

20.7K GitHub stars

Type:

Tool

Platforms:

Github

Task:

Automate browser tasksDesign user interfacesChat with AIStudy and learnCreate spreadsheets

Best for:

Customer serviceOperationsFinanceIT & Development
Visit websiteView on GitHub

Pricing


Pricing information has not been added yet.

Overview

Chatbot is an open-source repository that now includes a Shopping Agent for extracting and analyzing order information from web interfaces that do not provide convenient exports. The agent combines browser automation, screenshots, multimodal model analysis, and a conversational interface to turn visible order data into structured results.

The Shopping Agent uses FastAPI for its backend and Streamlit for the user interface. It can open order pages, capture full-screen or selected regions, batch-analyze screenshots, extract order fields with an AI model, and export the resulting data to Excel; configuration options cover the server, model credentials, browser, and driver paths.

The project is useful for operational workflows where staff repeatedly copy information from closed or awkward web back offices. In addition to the newer agent functionality, the repository retains earlier chatbot material, making it a mixed project that documents both conversational-model experiments and a more task-oriented browser automation application.

README

Project documentation

View Shopping Agent documentation | View Chatbot documentation


Shopping Agent

Overview

ShoppingAgent is an intelligent order-analysis agent that uses browser automation, screenshot recognition, and large-model analysis to extract and summarize order information and generate Excel files, including data from back-office systems that cannot be exported directly. It uses FastAPI for the backend and Streamlit for the frontend to provide an automated agent workflow with a simple interface.

Features

  • Natural-language interaction through a chat interface.
  • Browser automation for opening pages and capturing screenshots.
  • Full-screen, element-selection, and manual-region screenshots.
  • Batch analysis and information extraction across multiple order screenshots.
  • Export of analysis results to Excel.
  • Configurable server, model, browser, and related parameters.

Quick start

Requirements

  • Python 3.8+
  • Google Chrome 140.0 or later; the latest stable release is recommended.
  • Chrome driver, available under dist/resourece.

Installation

  1. Clone the repository.
  2. Install dependencies:
pip install -r requirements.txt

Run the application

  1. Start the backend:
python -m app.main
  1. In a new terminal, start the frontend:
streamlit run app/frontend.py
  1. The browser should open automatically. You can also visit http://localhost:8501 manually.

Usage

  1. Open the order page: enter the order-page URL and click the button to open it.
  2. Capture order screenshots: select full-screen or manual-region capture. For a manual region, first capture the full page, drag over the required order area, and capture the selected region.
  3. Analyze orders: run batch order analysis so the system processes all screenshots and extracts order information.
  4. Review and export: inspect the results in the side panel and export them to Excel.

Natural-language control

The chat window on the left can be used to control the system with natural-language instructions.

System configuration

The system settings sidebar lets you configure:

  • Server address and port.
  • AI model settings and API keys.
  • Chrome browser and driver paths.

Configuration changes require an application restart.

Directory structure

project-root/
├── app/
│   ├── __init__.py
│   ├── main.py          # Backend entry point
│   ├── frontend.py      # Frontend interface
│   ├── config.py        # Configuration
│   └── utils/           # Utility functions
├── screenshots/         # Captured screenshots
├── excels/              # Excel exports
├── .env                 # Environment variables
└── requirements.txt     # Dependencies

Troubleshooting

  1. Browser will not start: verify CHROME_PATH, make sure Chrome is installed, update Chrome if necessary, and on Windows avoid installation paths containing non-ASCII or special characters.
  2. Screenshot capture fails: wait for the page to load fully, try another capture mode, make sure the browser is not minimized, and verify that Chrome and chromedriver versions match.
  3. Analysis is inaccurate: use clear screenshots, crop to the order information when possible, and verify the API key and network connection.
  4. Frontend cannot connect to backend: make sure the backend is running, verify the configured server address, and check that the port is available.

Dependencies

Core

  • python-dotenv>=1.0.0 — environment variables
  • fastapi>=0.103.1 — backend API framework
  • uvicorn>=0.23.2 — ASGI server
  • streamlit>=1.27.0 — frontend framework
  • requests>=2.31.0 — HTTP requests
  • pandas>=2.1.1 — data processing
  • openpyxl>=3.1.2 — Excel processing
  • pillow>=10.0.1 — image processing

Browser automation

  • selenium>=4.14.0 — browser automation compatible with Chrome 112+
  • webdriver-manager>=4.0.1 — WebDriver management and automatic Chrome version matching

Image and multimodal processing

  • python-multipart>=0.0.6 — multipart form data

Switch to Chatbot documentation


Chatbot

ChatGPT popularized GPT-style conversational systems, and this project is evolving in the same direction. It is a Chinese chatbot project that can be trained on custom corpora and is open for experimentation, discussion, stars, and forks.

Seq2Seq example results at 50% training progress

img_1.png img_2.png

Roadmap

V1.1 — 2024-09-30

  1. Add a MindSpore version and prioritize GPT models, RLHF, and related features there.
  2. Split the engineering architecture into Seq2Seq and GPT branches while continuing to support multiple AI frameworks.

V1.2 — planned for 2024-12-30

  1. Add MiniGPT-4-style multimodal text-and-image conversation capabilities.
  2. Improve distributed-cluster training and RLHF-related capabilities.

Seq2Seq execution order

A Xiaohuangji corpus can be downloaded from: https://github.com/zhaoyingjun/chatbot/blob/master/chineseChatbotWeb-tf2.0/seq2seqChatbot/train_data/xiaohuangji50w_nofenci.conv

  1. After downloading the code and corpus, place the corpus in train_data. Hyperparameters are configured in config/seq2seq.ini.
  2. Run the data preprocessor (data_utls.py), then execute.py, then app.py for the visual conversation interface.
  3. For large-scale distributed training, follow the Horovod launch pattern:
horovodrun -np n -H host1_ip:port,host2_ip:port,hostn_ip:port python3 excute.py

Recommended training environment

  • Ubuntu 18.04
  • Python 3.6

TensorFlow 2.x

  • tensorflow 2.6.0
  • flask 0.11.1
  • horovod 0.24 for distributed training

PyTorch

  • torch 1.11.0
  • flask 0.11.1

Contact

QQ: 934389697


Switch to Shopping Agent documentation

Releases

Release information has not been added yet.

Related articles

Guides and news that mention this tool.

G
n8n logo
Gemini logo

Build a RAG Chatbot over Your Google Drive Documents

Use cases
Z
M
n8n logo

AI Agents in Zapier vs Make vs n8n: Which Is Best?

Comparison
n8n logo

What Is n8n? The Open-Source Workflow Automation Tool Explained

Get started
G
Z
M

AI Email Labeling in Gmail with OpenAI

Use cases
W
n8n logo

AI WhatsApp Customer Support Agent

Use cases
T
n8n logo
ChatGPT logo

Build an AI Assistant on Telegram (Voice + Text) with n8n

Use cases
Complete your AI stack

Add specialist tools for research, coding, visual content, video, and automation.

Perplexity logo
Perplexity
Research

AI-powered search and research assistant

View tool
Cursor logo
Cursor
Coding

AI coding editor and autonomous software development platform

View tool
Midjourney logo
Midjourney
Images

AI image and video generation with advanced personalization

View tool
Runway logo
Runway
Video

AI video generation and creative production platform

View tool
n8n logo
n8n
Automation

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

View tool
Best alternatives

Compare similar tools in the same category.

AIWriteBook logo

AIWriteBook

End-to-end AI platform for writing and publishing books.

Gemini logo

Gemini

Google's multimodal AI assistant integrated with Google services

Claude logo

Claude

Long-context AI assistant focused on reasoning and documents

AI Aware logo

AI Aware

AI content detection and verification platform.

Perplexity logo

Perplexity

AI-powered search and research assistant

View all in this category
Help
Pick an answer below
Hi! I can point you to the right tool or guide. What are you looking for?
Browse all articles