Skip to content

Commit

Permalink
Annotate PromptInjectionDetectionService as ApplicationScoped (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariofusco authored Jan 15, 2025
1 parent 1ed3a5c commit a5c844d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import io.quarkiverse.langchain4j.RegisterAiService;
import jakarta.enterprise.context.ApplicationScoped;

@RegisterAiService
@ApplicationScoped
public interface PromptInjectionDetectionService {

@SystemMessage("""
Expand Down

0 comments on commit a5c844d

Please sign in to comment.