HugAi is a set of intelligent AI knowledge base developed by Springboot integrated openAi SDK, which supports GPT dialogue, AI drawing Midjourney, Stable Diffusion, and openai. The front and back end source code is completely open source.
Statement: Based on the Apache-2.0 protocol, it is free and used as open source. Open source is not easy. Please indicate the original author for second-level or commercial use.
HugAi backend source code address:
HugAi front desk source code address:
Online experience address : http://chat.hootin19.fun
Help documentation : http://chat.doc.hootin19.fun
My blog: https://www.hootin19.fun
Special reminder: Please check the help document for deployment project
✅ ChatGpt chat conversation, supports interrupt stop response, supports GPT3.5, 4.0, 3.5-16K and other models selection
✅ Dialogue Configuration Center, Platform Management, Model Management, API Configuration Management, Mirror Address Management
✅ Configurable mirror address, ApiKey pool
✅ Support mainstream Midjourney, Stable Diffusion, dall-e AI drawing functions, literary and graphic pictures, enlarge and redraw, AI optimization Prompt
✅ Play multiple roles, Xiaohongshu copywriter, advertising creative, novelist, Prompt optimizer, etc.
✅ Supports two ways of sse and websocket, streaming response typewriter output, dynamic settings in the background, no need to restart
✅ Cloud storage dialogue records, dialogue maintenance, context token calculation
✅ Support multi-user login: administrators, users, tourists, dynamic routing authentication, and no code intrusion
✅ Support local, server, minio cloud file storage, dynamic switching of multiple file upload strategies
Connected to the big model: OpenAi, iFLYTEK, Wen Xin Yiyan, Ollama
The project uses a variety of design patterns, practical applications of code abstraction, delay queues, concurrent synchronization mode, etc., as well as related skill points such as Java8+ features, streaming programming, functional interfaces, etc. This project is a full stack project. If you carefully read the code, you will be able to further improve your technology.
If you think the project is good, you can help me star in the warehouse. Thank you very much for your support?♂️~
I will maintain this open source project in my spare time, and the front and back ends are developed by myself. If you have any questions, please join the discussion group below.
| Function | describe | |
|---|---|---|
| ✅ | Management side module function | Currently, there are only site configuration and domain session maintenance on the management side. User modules, home page statistics and other functions will be added in the future. |
| ✅ | sd drawing | Under research, the current use of Openai's drawing sdk, which is not very useful |
| ✅ | sd drawing combined with chatGpt | prompt is handed over to chatGpt to optimize and configure, and users can choose their own professional mode or simple mode |
| ✅ | mj drawing | Midjourney drawing access |
| ✅ | gpt dialogue interaction optimization | Optimize the GPT Q&A conversation style, add and delete conversations and other functions |
| gallery | Personal and public gallery, share selected pictures, provide drawing parameters and draw the same style | |
| Community Functions | GPT community, gallery community, recommended dialogues and AI drawings can be published freely to the community, as well as comment functions, likes, etc. | |
| Other models | Other big models such as Wen Xin Yiyan, iFLYTEK, Tongyi Qianwen, etc. | |
| ......... |
User side
Backend management side
Priority is given to viewing the help documents before deployment. If you have any questions or valuable comments, please join the discussion group to communicate?