The AI Assistant is an LLM-powered chatbot that is designed to help you with a wide range of topics. Be aware that LLMs can provide inaccurate information, which can affect this feature. Due diligence is recommended.
You must configure the application to be able to use your LLM provider account in the LLM Provider preferences before you can use the AI Assistant. OpenAI, Azure OpenAI, and other LLM providers with similar functionality are supported. See LLM Provider preferences to determine whether your LLM provider can be used.
The AI Assistant is available as a view in the interface. It is enabled by default in the SOAtest perspective and Virtualize perspective. If the AI Assistant view is not visible, you can open it by going to Parasoft > Show View > AI Assistant. As with any view, you can drag and drop the AI Assistant tab around the UI to place it where it is most convenient for you.
The AI Assistant has a simple call-and-response interface: enter your question in the query panel and click Run and the AI Assistant will do its best to provide an answer for you, as well as links to relevant documentation pages that can help you learn more about the subject. You can also press ENTER to submit your question; press SHIFT+ENTER to start a new line in the query panel.
The first time you use the AI Assistant, it may need to build its knowledge base. This can take several minutes.
After you have asked a question, the Run button will become a Stop button. If you have received enough information or you want to change the conversation, you can end the response process by clicking it.
Continued interaction with the AI Assistant, in effect, forms a conversation and subsequent questions are treated as being related to those that came before. This can influence the answers that are provided. You can start a new conversation by clicking Clear.
You can use the AI Assistant to help you create tests in SOAtest. Just ask it for help creating a test and provide it with a URL to a RESTful service definition that you want to create a test for. It will analyze the service definition and suggest possible scenarios. You can choose one of its suggestions or describe the scenario you want to test yourself. For example, you might ask the AI Assistant:
Create a test scenario from definition: https://parabank.parasoft.com/parabank/services/bank/openapi.yaml Test scenario steps: Log in, get customer accounts, create account, deposit funds, get account |
The AI Assistant will ask where you want to save the test and create it for you, including a scenario with related steps and populated payload data.
Notes:
You can use the AI Assistant to create data sources. Data sources are automatically created as CSV file data sources and can be created independently or as part of the test the AI Assistant is helping you create. The AI Assistant will populate the data for you with fictional but realistic values and present them to you for your review and approval. If you are creating a data source that is not part of a test, it will ask you where to save the data source.