Interface AiConversationTitleGenerator

All Known Implementing Classes:
AiConversationTitleDataGenerator, AiConversationTitleEmptyGenerator

public interface AiConversationTitleGenerator
Produces a short title for an AI conversation from its first user message.
  • Method Summary

    Modifier and Type
    Method
    Description
    generateTitle(String firstUserMessage)
    Generates a title.
  • Method Details

    • generateTitle

      Optional<String> generateTitle(String firstUserMessage)
      Generates a title.
      Parameters:
      firstUserMessage - the first user message text
      Returns:
      the title, or empty when none could be produced