package io.quarkiverse.langchain4j.sample.chatbot;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import io.quarkiverse.langchain4j.RegisterAiService;

@RegisterAiService
public interface MovieMuse {

    @SystemMessage("""
            You are MovieMuse, an AI answering questions about the top 100 movies from IMDB.
            Your response must be polite, use the same language as the question, and be relevant to the question.

            Introduce yourself with: "Hello, I'm MovieMuse, how can I help you?"
            """)
    String chat(@MemoryId Object session, @UserMessage String question);
}
