
本项目是一个基于RAG的生猪健康管理的智慧医药系统,集成了AI兽医诊断、疾病管理、药品管理、文章资讯管理等功能模块,旨在通过数字化手段提升生猪养殖的医疗管理水平。系统基于 SpringBoot3 + RAG +Ollama + Spring AI + DeepSeek + Mysql8.0 + Mybatis-Plus 技术栈构建,提供智能兽医诊断服务,帮助养殖户或兽医快速识别生猪病情并推荐相应的治疗方案。
The intelligent veterinary medicine system project, based on RAG (Retrieval-Augmented Generation), is designed for swine health management. By integrating a variety of features such as AI veterinary diagnostics, disease management, drug management, and information management, this system aims to enhance the medical management level of pig farming through digital means. Built using a robust technology stack including SpringBoot3, MySQL 8.0, and AI models like Ollama and DeepSeek, it facilitates swift identification of pig diseases and offers appropriate treatment recommendations to farmers and veterinarians.
This innovative system not only streamlines the management process for livestock but also provides valuable resources for education and research. It's important to note that this project is intended for learning and competition purposes, lacking commercial capabilities. Users can utilize the provided functionalities while adhering to relevant laws and regulations.
AI Veterinary Diagnostic System: Utilizes Ollama and DeepSeek to analyze symptoms described in natural language, offering rapid disease identification and treatment suggestions.
Comprehensive Disease Management: Enables users to query disease information, manage disease classifications, and maintain associations between diseases and medications.
Robust Drug Management System: Facilitates CRUD operations for drug information, showcasing detailed insights like efficacy, interactions, and contraindications.
User Management Capabilities: Supports user registration, login (via password and email verification), and multi-role permission management (farmers, veterinarians, administrators).
Knowledge Base Integration: Allows for the upload and management of documents in various formats (txt, md, pdf, docx), ensuring organized storage and easy retrieval.
Article and News System: Manages the classification and display of veterinary knowledge and recent news articles to keep users informed.
Feedback and Document Management: Collects user feedback and manages documents in a unified system, enhancing user experience and operational efficiency.
Advanced Vectorization Support: Utilizes Spring AI's VectorStore to read, process, and vectorize documents, enhancing the knowledge retrieval process.

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects
Pinia is the official state management library for Vue.js. It provides a simple and intuitive API with full TypeScript support, devtools integration, and modular design. Pinia replaces Vuex as the recommended state management solution for Vue 3.