This is a port of the Spring Boot demo of Langchain4j to Quarkus
Set your OpenAI key in the quarkus.langchain4j.openai.api-key
property of application.properties
.
The same thing can also be accomplished by using the QUARKUS_LANGCHAIN4J_OPENAI_API_KEY
environment variable
mvn quarkus:dev
and then simply open http://localhost:8080