The source code is for testing only and should not be used commercially. The source code comes from the Internet. If there is any infringement, please contact me to remove it.
NineAi 新版AI系统网站源码 ai人工智能源码搭建 ChatGPT能完成撰写邮件、视频脚本、文案、翻译、代码,写论文等任务

Nine AI.ChatGPT is an advanced artificial intelligence tool built based on ChatGPT technology and specifically designed to understand and generate natural language text. It can imitate the way humans communicate, provide a smooth dialogue interaction experience, and be able to respond based on the conversation context. In addition to conducting daily conversations, Nine AI.ChatGPT also has the ability to perform a variety of text-generation tasks, such as writing emails, video scripts, marketing copywriting, translation and coding, and even writing academic papers.

Necessary environment configuration
In order to run Nine AI.ChatGPT smoothly, you need to ensure that the following environment configurations meet the requirements:

Node.js version must be higher than 16
The pnpm version needs to be higher than 6
MySQL version needs to be at least 5.7
Redis
project directory structure
The project consists of three main components:

chat: User interface code
admin: Management interface code
service: server code
Local Development Guide
In order to unify the development process, the project adopts the following commands:

Use pnpm install to install all dependencies.
Start the project using pnpm dev.
Use pnpm build to package your project.
Start Guide
Install dependencies separately for each part, using the command pnpm i.
Server settings: Enter the service directory, create a.env file, and configure the test database and Redis. After configuration, start the server using pnpm dev. ORM automatically maps the database and automatically creates the required database structure at startup.
Next, start chat and admin terminals respectively, using pnpm dev.
authorization processing
The authorization functions are located in the src/modules/globalConfig/globalConfig.service.ts file. You can remove authorization checking by removing the content of the nineAiCheckAuth function and its call in onModuleInit.
Correspondingly, the checkauth timing task in src/modules/task/task.service.ts should also be removed.
Packaging and deployment
Service: Run pnpm build to package, you only need to keep the seven packaged files, and refer to. env.example to set environment variables.
Client (chat) and management (admin): Packaged and configured in the.env.production file, and the server address needs to be configured as the online backend service address to adapt to separate deployment.
Solve the front-end refresh 404 problem
For front-end projects that use history mode, you may encounter a 404 error when refreshing the page. This requires specific configuration of Nginx to handle routing correctly.

read more
Resource download
Price25 Meteor coin
The use is limited to testing, experiments, and research purposes. It is prohibited for all commercial operations. This team is not responsible for any illegal behavior of users during use. Please self-test all source codes! There is no guarantee of the integrity and validity of your source code. All source code is collected from the entire network
Original link:https://bcbccb.cn/en/17751.html, please indicate the source for reprinting. Disclaimer: This resource has not been authorized by the original rights holder and is not commercially available. It can only be used to learn and analyze the underlying code, CSS, etc., and is prohibited for commercial purposes. Any relevant disputes and legal liabilities arising from unauthorized commercial use shall be fully borne by the user. Everyone is responsible to support genuine copies. Please delete them within 24 hours after downloading. Thank you for your support!
1

Comments0

七星游戏源码搭建教程详细文档说明
Seven Star Games source code construction tutorial detailed document description
Someone bought it 9 minutes ago Go and have a look

Site Announcements

The source code (theme/plug-in/application source code) and other resources provided by this site are only for learning and exchange

Commercial use is prohibited, otherwise all consequences will be borne by the downloading user!

Some resources are collected or copied online. If they infringe on your legitimate rights and interests, please write to us.

Currently, members have a big reward, and the current price for a lifetime member is 299 gold coins.Recent price adjustments

Join quickly, opportunities wait for no one! immediately participated in

Captcha

Fast login to social accounts

en_USEnglish