Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2024.2

In this section:

Table of Contents
maxLevel2

Overview

You can use your OpenAI or Azure OpenAIan LLM with your LLM provider account to assist you in in creating tests in SOAtest . See Creating Tests from a Swagger Definition for more information. (see Writing User-Defined Prompts below for tips about writing effective prompts when creating tests) or to power the AI AssistantYou must configure SOAtest & Virtualize to be able to use your OpenAI or Azure OpenAI LLM provider account in the LLM Provider preferences before you can take advantage of these features. OpenAI, Azure OpenAI, and other LLM providers with similar functionality are supported. See LLM Provider preferences to determine whether or not your LLM provider can be used.

The SOAtest & Virtualize-OpenAI AI integration uses the OpenAI LLM provider's REST API over HTTPS/TLS, collecting . For the AI Assistant, it collects summarized information from Parasoft documentation along with a user-defined prompt plus SOAtest & Virtualize's custom prompts in the requests to the LLM. For test creation, it collects summarized information from the user-provided OpenAPI document and including includes it with a user-defined prompt plus SOAtest & Virtualize's custom prompts in the requests to the OpenAI REST APILLM.  The diagram below illustrates what and how SOAtest & Virtualize communicates with OpenAIan LLM.

Image RemovedImage Added

Anchor
AIPrompts
AIPrompts
Writing User-Defined Prompts

When writing a general user-defined prompt for an app, it can be helpful to tell the AI LLM what kind of app it is. For example:

...