Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.19 KB

File metadata and controls

50 lines (35 loc) · 1.19 KB

GenAi personal assistant using Spring Boot and Ollama

Running it locally

  1. Install required environments
  1. Clone repository
git clone https://github.com/sachi097/springboot-genai-personal-assitant.git
  1. Update environment files
  • add AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in application.yaml
  1. Build and run
mvn clean
mvn -f pom.xml clean package -DskipTests
java -jar ./target/*.jar  
  1. Test with curl
curl -XPOST -H "Content-type: application/json" -d '{
   "messages": [
        {
            "userId": "sachinTestId2",
            "content": "hello",
            "timestamp": 1728265388553,
            "role": "user"
        }
    ]
}' 'http://localhost:8081/api/chat/getChatResponse'

You can run the project directly by opening the project in IntelliJ IDEA

Demo

personal.assistant.mp4

Youtube demo