package jlama;

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

import java.util.List;

public interface KeywordConsolidationService {
    @UserMessage("""
        Keywords: {{keywords}}
        
        Consolidate two keywords A and B that have exactly the same meaning.
        Tool Call Rule: consolidateKeywords(A, B)
        If no matching pairs found, make no tool calls. Max 2 calls.
        """
    )
    void consolidateKeywords(@V("keywords") List<String> keywords);

}
