Class AiLiteParserService

java.lang.Object
com.vaadin.uitest.ai.services.DefaultLLMService
com.vaadin.uitest.ai.services.AiLiteParserService
All Implemented Interfaces:
com.vaadin.uitest.ai.LLMService
Direct Known Subclasses:
AiFullParserService

public class AiLiteParserService extends DefaultLLMService
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.vaadin.uitest.ai.LLMService

    com.vaadin.uitest.ai.LLMService.ServiceLocator
  • Field Summary

    Fields inherited from interface com.vaadin.uitest.ai.LLMService

    GENERATE_HEADING_PLAYWRIGHT_JAVA, GENERATE_HEADING_PLAYWRIGHT_REACT, GENERATE_IMPORTS, GENERATE_IMPORTS_PLAYWRIGHT_JAVA, GENERATE_IMPORTS_PLAYWRIGHT_REACT, GENERATE_LOGIN_PLAYWRIGHT_JAVA, GENERATE_LOGIN_PLAYWRIGHT_REACT, GENERATE_SNIPPETS, PARSER_ASSISTANT_QUESTION, PARSER_SYSTEM_MSG_FLOW, PARSER_SYSTEM_MSG_LIT, PARSER_SYSTEM_MSG_REACT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getGeneratedResponse(String prompt, com.vaadin.uitest.model.Framework framework, String gherkin)
     
    getPromptTemplate(com.vaadin.uitest.ai.AiArguments aiArguments)
     

    Methods inherited from class com.vaadin.uitest.ai.services.DefaultLLMService

    fluxToString, requestAI

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.uitest.ai.LLMService

    getChatAssistantSystemMessage, getGeneratedResponse, getImports, getMaxTokens, getModel, getTemperature, prompts
  • Constructor Details

    • AiLiteParserService

      public AiLiteParserService()
  • Method Details

    • getPromptTemplate

      public String getPromptTemplate(com.vaadin.uitest.ai.AiArguments aiArguments)
    • getGeneratedResponse

      public String getGeneratedResponse(String prompt, com.vaadin.uitest.model.Framework framework, String gherkin)