Table of Contents

Testing a Knowledge graph with the Chat Tab

There are two ways to deliver a knowledge Graph to your users: The ThinkBase Inference app and the GraphQL interface of the SaaS versio of ThinkBase.

The Chat Tab allows you to test the experience that ThinkBase Inference users will have, and that may be available to SaaS users, depending on the UI you build.

Commands and recognition

Chat process

The Chat tab implements several commands, which are evaluated first in any input text before that text is passed to the Knowledge Graph.

The Commands are:

  • Clear Knowledge Graph. This will clear any entries in the existing usage of the Knowledge graph. Access it again by typing the trigger text.
  • Debug. This will cause debug information to be output after each response. Typing this again will toggle the state. See Chat Debug.
  • Hello. Using NLP processes, this will respond to any text with the meaning of a greeting.
  • Help. This will output help text explaining how to use the chat tab.
  • Knowledge Graph. This will output the description associated with the current Knowledge graph.

Trigger text and Knowledge Graph evaluation

The Chat tab can be in two states: waiting to evaluate the current Knowledge Graph, or in an evaluation. You move from the waiting state to the evaluation state by typing text that triggers the recognition tree. Once in an evaluation, the Knowledge graph directs the conversation. It will validate any entries you make and report out of range values, etc. To leave this state you must either complete the validation process, or type quit or another word with the same meaning.

Differences between the Chat tab and ThinkBase Inference.

The chat tab is intended to help you debug and test your knowledge graphs. It only runs a single Knowledge graph, the one selected in the knowledge graph tab. ThinkBase Inference can give access to any Knowledge Graph available to it in your organization, and determines which knowledge graph to run based on the recognition trees in the graphs. ThinkBase Inference does not contain debugging capabilities.