Security Considerations

Enterprises navigating the realm of AI often have concerns surrounding privacy and security. In this document, we explain how we ensure it.

On one hand, as we use Globant Enterprise AI, all the requests to the LLM are done ensuring data travels securely and adheres to business-imposed rules. You can learn more about this here.

On the other hand, the concept of a "semantic model" encapsulates essential information within the model's knowledge base (KB), such as table names, attribute names, and applied filters. WorkWithPlus strategically utilizes the KB's information to refine the prompts sent to Globant Enterprise AI in order to enhance response accuracy. In this information, WorkWithPlus doesn't include database information or sensitive data.

Example

Let's consider a real example. If a user enters the query "list appliance with the name Computer" into the search bar, this triggers two requests to the LLM:

  1. the first to determine which screen to go to (list, detail, a specific screen, etc.)
  2. the second to instantiate filters (if the screen to go to is a list).

Let's analyse both requests:

Request 1:

Raw JSON request payload sent to the gpt-3.5-turbo-1106 model, showing the system prompt that instructs the model to act as a JSON generator resolving which web page can answer a query, followed by a user message 'listar electrodomestico de nombre "Computadora"'. The system prompt lists candidate pages such as ElectrodomesticoWW, Page_Home2, and Page_GAMSecurity20 with their descriptions.

Request 2:

Raw JSON request payload sent to the gpt-3.5-turbo-1106 model, with a system prompt instructing it to transform natural language queries into a JSON filter format (Sort, Index, Descending, FilterValues with Name/Value/ValueFrom/ValueTo, UserIntent) for the ElectrodomesticoWW list, followed by the user message 'listar electrodomestico de nombre "Computadora"'.

As seen in both requests, information from the KB is sent to the LLM (e.g., available filter types), but no actual database data is transmitted.

AI Search Examples

The only scenario in which data from the database is sent is to display some suggestions to the user, as shown here:

The natural language search box in the top navigation bar is expanded, showing a help panel with example queries: 'List Electrodomestico by Id 2, 3, 5', 'List Electrodomestico by Descripción "Computadora"', and 'List Electrodomestico by Marca "Samsung"'. A red arrow highlights the second example query.

This is useful for users to gauge the functionality's power. However, it can be turned off with a simple property setting:

Pattern Settings editor showing the Actions tree for a WorkWithPlus instance, with the NaturalLanguageQuery action selected at bottom. The Properties panel on the right shows its Style settings (Control type DropDownComponent, Font Icon fa-solid fa-wand-magic-sparkles) and, highlighted by a red arrow, the 'AI Search Examples' section with 'Include database data' set to True.

Turning it off provides the same search functionality without displaying these "real" examples.