Versions Compared

Key

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

...

You can use the AI Assistant to help you create a virtual asset in Virtualize. There are two methods available to you: using an OpenAI/Swagger service definition and working without one.

With a Service Definition

If you have an OpenAI/Swagger service definition that you want to create a virtual asset for, you can just ask the AI Assistant Just ask it for help creating a virtual asset and provide it with a URL or absolute file path to a OpenAPI/Swagger the service definition that you want to create a virtual asset for. It will analyze the service definition and make suggestions. You can choose one of its suggestions or describe the virtual asset you want. For example, you might ask the AI Assistant:

...

Virtual asset responders will be parameterized based on incoming requests when applicable. Values that are not parameterized will be populated with AI-generated values.

Without a Service Definition

If you don't have an OpenAI/Swagger service definition to use, you can still get the AI Assistant's help creating a virtual asset. You can provide it with text descriptions of how the service works, which can include endpoints, payloads, and so on, which the AI Assistant will analyze then propose what responders it thinks would be most appropriate. This method can result in some gaps in the proposal which you might need to fill in, but it's a good way to get a jump on the process.

Depending on the detail of your description, the AI Assistant might propose:

  • endpoints
  • responder correlations
  • response payloads (literal)
  • status codes

The AI Assistant will ask for changes to the proposed virtual service before creating it.