The AI Assistant is an LLM-powered chatbot that can create virtual assetsĀ for you. See AI Assistant for more information about accessing the AI Assistant. Be aware that LLMs can provide inaccurate information, which can affect this feature. Due diligence is recommended.

Creating a Virtual Asset with the AI Assistant

You can use the AI Assistant to help you create a virtual asset in Virtualize. Just ask it for help creating a virtual asset and provide it with a URL or absolute file path to a OpenAPI/Swagger 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:

Create a virtual asset from definition:
https://petstore.swagger.io/v2/swagger.json

Include operations for adding, updating, and retrieving pet information.

The AI Assistant will show you the virtual asset it proposes based on your request, including a responder suite with related operations populated payload data when applicable, and ask you if you want to save it. You can choose to accept the virtual asset or ask for changes. For example, you might decide you want to add an operation to delete pet information. When it asks you if you want to proceed, you could say:

Add an operation to delete pet information.

The AI Assistant would recreate the virtual asset with the new operation. In this way, you can modify the virtual asset until you have exactly what you want.

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