Interface Assistant


public interface Assistant
This is the Assistant for Quarkus Dev Mode. The actual implementation will be provided by another extension (eg. Chappie)
  • Method Details

    • isAvailable

      boolean isAvailable()
      Check if the assistant is available
      Returns:
      true if there is an implementation that is configured and connected
    • assist

      <T> CompletionStage<T> assist(Optional<String> systemMessageTemplate, String userMessageTemplate, Map<String,String> variables, List<Path> paths, Class<?> responseType)
      Assist the developer with something
      Type Parameters:
      T - The response
      Parameters:
      systemMessageTemplate - System wide context
      userMessageTemplate - User specific context
      variables - variables that can be used in the templates
      paths - Paths to workspace files (optional)
      Returns:
    • assistBuilder

      default Assistant.AssistBuilder assistBuilder()
    • getMemoryId

      String getMemoryId()
      Return the memory Id from the last assistance. Could be null
      Returns:
    • getChatPath

      String getChatPath()
      Return the path to the assistant implementation chat screen
      Returns:
    • getLinkToChatScreen

      default String getLinkToChatScreen()
      Get the link to the chat screen given the current active chat
      Returns: