package dev.langchain4j.quarkus.workshop;

import dev.langchain4j.service.SystemMessage;
import io.quarkiverse.langchain4j.RegisterAiService;
import io.smallrye.mutiny.Multi;
import jakarta.enterprise.context.SessionScoped;

@SessionScoped
@RegisterAiService
public interface CustomerSupportAgent {

    @SystemMessage("""
            You are a customer support agent of the vaccination application 'vacme'.
            You are friendly, polite and concise.
            If the question is unrelated to the login process or the usage of the vacme page, you should politely redirect the customer to the support email.
            """)
    Multi<String> chat(String userMessage);
}
