Introduction to the YiAi Project
The YiAi project is an innovative development based on version 2.4.2 of the NineAI platform. It is designed as a resource for learning and reference, strictly for non-commercial use. This project provides tools and features especially useful for those interested in artificial intelligence and machine learning applications.
Key Features and Updates
Version 2.6.0 (Released on July 5, 2024)
-
Model List Update: The latest version expands its model offerings by including popular models such as GPT-4o and Claude3.5.
-
Image Recognition Feature: Newly introduced functionalities allow models like GPT-4o to perform image analysis, enhancing the user's ability to interpret files and images.
Version 2.5.1 (Released on February 5, 2024)
- Interface Improvements:
- The display of titles has been optimized to prevent truncation.
- The left-side interface has been streamlined, featuring new conversations and improved search capabilities, along with a more compact menu.
Version 2.5.0 (Released on February 3, 2024)
-
Enhancements and New Functionalities:
- MJ-Proxy-Plus Support: Incorporates robust mechanisms for error tolerance and retries, boosting the system's stability.
- Model Sorting: Improved model sorting logic for a better user experience.
- Simplified Configuration: MJ model setup has been reduced to just require an address and key.
- Dall-E Integration: The Dall-E-3 model is now configurable from the backend, with plans to enhance drawing capabilities within chat components.
- Expanded File Support: Adds support for more file types beyond PDF.
-
Bug Fixes:
- Resolved compatibility issues with domestic models.
- Improved UI display in various sections.
Version 2.4.5
- Enhanced UI for a cleaner look.
- Management interface is accessible via
/admin
with a default password of123456
. - Includes support for GPT-4-All, enabling file and image parsing.
- Introduced token-based billing for models (optional).
- Adjusted default settings for MJ version to v6.0.
Deployment and Setup
Environment Requirements
- Ensure you have Node.js (v16+), pnpm (v6+), MySQL (version 5.7 or newer), and Redis installed.
Installation and Configuration
- Install Node.js and pm2 using npm for process management.
- Use pnpm to manage and install dependencies listed in
package.json
. - Configure environmental variables by copying
.env.example
to.env
and making necessary adjustments.
Starting the Project
- Start the project using
pnpm start
. By default, it listens on port 9520. - Access the web interface via
http://localhost:9520
or through a configured domain if using Nginx for reverse proxy.
Management Platform
- User chat interface is located at
/chat
. - Administrative access is at
/admin
, with login credentials set as useradmin
orsuper
with password123456
.
Handling 404 Errors
- Configure Nginx to handle potential 404 errors when refreshing the frontend.
Upgrade Process
- Pull updates using
git pull
, delete old PM2 processes, install necessary dependencies, and restart the project usingpnpm
.
Author and Support
The project's author offers paid services for consulting, guidance, deployment, and collaboration. A small fee of 10 yuan is required to initiate any professional engagement through WeChat.
- Donations and sponsorships are encouraged to support ongoing project development.
Note: This initiative is for educational purposes only, and the creators do not assume responsibility for commercial misuse.