diff --git a/openai-chat-service/build.gradle b/openai-chat-service/build.gradle index 2f20893..5c236e9 100644 --- a/openai-chat-service/build.gradle +++ b/openai-chat-service/build.gradle @@ -12,10 +12,15 @@ dependencies { implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}") implementation 'io.quarkus:quarkus-rest' + + implementation 'io.quarkus:quarkus-smallrye-health' + implementation 'io.quarkus:quarkus-smallrye-metrics' + implementation 'io.quarkiverse.langchain4j:quarkus-langchain4j-core:0.22.0' implementation 'io.quarkiverse.langchain4j:quarkus-langchain4j-openai:0.22.0' + implementation 'io.quarkus:quarkus-arc' - + testImplementation 'io.quarkus:quarkus-junit5' testImplementation 'io.rest-assured:rest-assured' } diff --git a/openai-chat-service/src/main/resources/application.properties b/openai-chat-service/src/main/resources/application.properties index d7aefd6..883f7c9 100644 --- a/openai-chat-service/src/main/resources/application.properties +++ b/openai-chat-service/src/main/resources/application.properties @@ -5,3 +5,5 @@ quarkus.langchain4j.openai.log-requests=true quarkus.langchain4j.openai.log-responses=true quarkus.langchain4j.timeout=60s + +quarkus.management.enabled=true \ No newline at end of file