Skip to content

Commit

Permalink
Specify individual imports for Jakarta REST annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
backwind1233 committed Sep 29, 2024
1 parent 9d660fc commit 2f8037a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/cargotracker-liberty-aks/templates/openai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ type: Opaque
stringData:
azureOpenAIKey: "{{ .Values.azureOpenAIKey }}"
azureOpenAIEndpoint: "{{ .Values.azureOpenAIEndpoint }}"
azureOpenAIDeploymentName: "{{ .Values.azureOpenAIDeploymentName }}"
azureOpenAIDeploymentName: "{{ .Values.azureOpenAIDeploymentName }}"
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ interface ShortestPathAi {

@UserMessage("Please help me find the shortest path from {{from}} to {{to}}")
String chat(@V("location") String location,@V("voyage") String voyage,@V("carrier_movement") String carrier_movement,@V("from") String from, @V("to") String to);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

import jakarta.enterprise.context.ApplicationScoped;
import jakarta.inject.Inject;
import jakarta.ws.rs.*;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.QueryParam;
import jakarta.ws.rs.core.MediaType;


Expand Down

0 comments on commit 2f8037a

Please sign in to comment.