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.3

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.

Table of Contents
maxLevel3

Creating a Virtual Asset with the AI Assistant

...

No Format
Create a virtual service to manage hotel room bookings based on the following description:

Basepath:
/hotel/api/v1

Endpoints:
/bookings
/bookings/{id}
/rooms
/rooms?guestName={name}&date={date}
/rooms/{id}
/rooms/{id}/availability
/rooms/{id}/hold 
/guests
/guests/{id}

Details:
200 for success, 404 for not found, and 409 for conflicts (for example, double booking).
Error responses for all endpoints should include a clear error message.

Example request for POST - /bookings:
{
    "roomId": 201,
    "roomNumber": "101A",
    "roomType": "Deluxe",
    "guestId": 301,
    "guestName": "John Doe",
    "checkIn": "2024-07-01",
    "checkOut": "2024-07-05",
    "price": 520,
    "specialRequests": "Late check-in"
}
Response returns "id" field and the same as request payload.

Creating Data Sources with the AI Assistant
Anchor
creatingDataSources
creatingDataSources

You can use the AI Assistant to create data sources. Data sources are automatically created as CSV file data sources. The AI Assistant will populate the data for you with realistic values and present them to you for your review and approval. For example, you might ask:

Panel
1. Generate a data source of fictional climbing expeditions to the Seven Summits. 
2. Create columns: climber, year, mountain, continent, outcome, notes.
3. Create 10 rows.

This will create a simple data source filled with fictional but realistic data. You might also give the AI Assistant more guidance to get a more customized response, like:

Panel
1. Generate a data source of historical climbing expeditions to the Seven Summits,
based on publicly available records from reputable sources. 2. Select well-known climbers and their expeditions from historical records. 3. Refer to historical facts from credible books, articles, and websites. 4. Create columns: climber, year, summit, outcome, challenges faced, environmental factors,
demographics (nationality, age), expedition type, logistics, highlights / notes. 5. Provide a column with links for more information. 6. Create 20 rows.

The AI Assistant will show you the data source it creates based on your request and ask you if you want to save it. You can choose to accept the data source is proposes or ask for changes. For example, you might decide you don't need the "challenges faced" column. When it asks you if you want to proceed, you could ask:

Panel
Create the same data source without the challenges faced column.

The AI Assistant would recreate the data source without that column. In this way, you can modify the data source until you have exactly what you want.