Skip to content

Commit

Permalink
Added metrics and health.
Browse files Browse the repository at this point in the history
  • Loading branch information
lreimer committed Dec 2, 2024
1 parent 5bef42f commit 1c40211
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion openai-chat-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down
2 changes: 2 additions & 0 deletions openai-chat-service/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ quarkus.langchain4j.openai.log-requests=true
quarkus.langchain4j.openai.log-responses=true

quarkus.langchain4j.timeout=60s

quarkus.management.enabled=true

0 comments on commit 1c40211

Please sign in to comment.