Interface ThinkingCapability

  • All Implemented Interfaces:

    
    public interface ThinkingCapability
    
                        

    Marker interface for thinking capabilities.

    This is a tag interface that indicates a prompt runner implementation supports thinking extraction and processing. Similar to StreamingCapability, it enables polymorphic capability detection without defining specific methods.

    Implementations that extend this interface can extract thinking blocks (like <think>...</think>) from LLM responses and provide thinking-aware operations that return ThinkingResponse<T> objects.

    Note: Thinking and streaming capabilities are mutually exclusive. StreamingPromptRunner implementations should not extend this interface.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail