package jlama;

import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.V;

public interface KeywordService {
    @UserMessage("""
        Title: {{title}}
        Summary: {{summary}}
        
        Task: Extract 1-3 tech keywords (max 2 words each).
        Format: Valid JSON array ONLY. No intro/outro.
        
        JSON Output:"""
    )
    String getKeywords(@V("title") String title, @V("summary") String summary);
}
