Package com.vaadin.uitest.ai.services
Class AiAssistantGeneratorService
java.lang.Object
com.vaadin.uitest.ai.services.AiAssistantGeneratorService
- All Implemented Interfaces:
LLMService
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.uitest.ai.LLMService
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 -
Method Summary
Modifier and TypeMethodDescriptiongetModel()getPromptTemplate(AiArguments aiArguments) requestAI(AiArguments aiArguments) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.uitest.ai.LLMService
getChatAssistantSystemMessage, getGeneratedResponse, getGeneratedResponse, getImports, getMaxTokens, getTemperature, prompts
-
Constructor Details
-
AiAssistantGeneratorService
public AiAssistantGeneratorService()
-
-
Method Details
-
getPromptTemplate
- Specified by:
getPromptTemplatein interfaceLLMService
-
requestAI
- Specified by:
requestAIin interfaceLLMService
-
getModel
- Specified by:
getModelin interfaceLLMService
-