This is a Spring Boot-based messaging application that integrates with AI services to provide intelligent features.
The application is a RESTful web service that allows users to send and receive messages. It uses the Ollama and Google Generative AI services to enhance the user experience with features like contextual memory and intelligent responses.
src/main/java: Contains the main application source code.com.chatapp.ai: AI-related services, includingOllamaServiceandContextualMemoryService.com.chatapp.api: API controllers for handling HTTP requests.com.chatapp.data: Data models and repositories.com.chatapp.server: Main application entry point.
src/main/resources: Contains application resources, such asapplication.properties.pom.xml: The Project Object Model (POM) file for Maven, which defines the project's dependencies and build configuration.run.sh: A shell script to run the application.
The application is built using the Spring Boot framework, which simplifies the development of Java-based web applications. The ContextualMemoryService is a key component that stores and retrieves conversation context, enabling more intelligent and context-aware interactions.
To get started with this project, you will need to have Java 17 and Maven installed. You can then clone the repository, build the project, and run the application.
For detailed instructions, please see the INSTRUCTIONS.md file.
For a quick reference of common commands, please see the QUICK_REF.md file.