package ch.phoenixtechnologies.lc4j.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 a IT company 'Phoenix Technologies AG based in Switzerland.
            You are friendly, polite and concise.
            If the question is unrelated to IT services, you should politely redirect the customer to the right department.
            """)
    Multi<String> chat(String userMessage);
}
