Set up and use the Data Exploration Tools
- How to set up the data exploration tools
- How you can use these tools
- How the data exploration tools make use of the SAP HANA Cloud Vector engine and Knowledge Graph to return answers to questions about your tables, views, and functions and the data returned by them using natural language.
Prerequisites
- A productive SAP HANA Cloud instance that has enabled the Knowledge Graph (also known as a triple store) and the Natural Language Service (NLS)
- Access to an AI Core instance or the ability to deploy and configure an instance of one
Overview
SAP HANA Cloud provides many features that make it well suited as a database for business AI. The data exploration tools make use of a few of these features which are further described below. The data exploration tools provide a database object discovery stored procedure that can be used to find objects and a data retrieval procedure that can be used to return query results from a prompt.
SAP HANA Cloud provides a vector engine and a set of vector functions to work with vectors. The ability to embed data as a vector data type and to provide a method to perform a similarity search on the embedded data is helpful in providing grounding data to an LLM. Retrieval Augmented Generation (RAG) is a pattern where instead of asking a large language model (LLM) to answer a question from memory alone, you first retrieve relevant context from a knowledge base (in this case the tables, views, and functions in your database) and then augment the LLM’s prompt with that context. The LLM generates a response grounded in your data rather than generating its response based only on the data it’s been trained with.
SAP HANA Cloud also provides the SAP HANA Database Knowledge Graph which can be used to store the relationships between objects. The data exploration tools as part of its configuration will create a knowledge graph containing information about the relationships between the database table, views, and functions that are specified during its configuration.
























