Skip to content

ThomasVitale/concerto-for-java-and-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concerto for Java and AI

Slides

Stack

  • Java 23 (with GraalVM)
  • Spring Boot 3.4 (with Spring AI)
  • Vaadin

Mousike

First, make sure you have an OpenAI account. Then, define an environment variable with the OpenAI API Key associated to your OpenAI account as the value.

export SPRING_AI_OPENAI_API_KEY=<INSERT KEY HERE>

Finally, run the Spring Boot application.

cd mousike
./gradlew bootTestRun

You can access the application at http://localhost:8080.

The application relies on the native Testcontainers support in Spring Boot to spin up a PostgreSQL database with the pgvector extension, and a Grafana LGTM service for observability.

Grafana is listening to port 3000. Check your container runtime to find the port to which is exposed to your localhost and access Grafana from http://localhost:. The credentials are admin/admin.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published