Get a Knowledge Structure

Overview

This is a description of one of the six use cases for the AI Search Engine—retrieving a small structured knowledge base on the requested subject based on information from the internet.

An output example:

{
  'title': 'Nikola Tesla', 
  'type': 'Engineer and futurist', 
  'description': None, 
  'born': 'July 10, 1856, Smiljan, Croatia', 
  'died': 'January 7, 1943 (age 86 years), The New Yorker A Wyndham Hotel, New York, NY'
}

The output will be the requested information retrieved from the internet—or empty brackets {} if nothing was found or if the entered query does not match the selected search type (for example, querying something like "I love Antarctica" instead of some topic).

How to make a call

Check how this call is made in the example below.

API Schema

get
Authorizations
AuthorizationstringRequired

Bearer key

Query parameters
followup_idstringRequired
Responses
get
/v1/bagoodex/knowledge
default

Example

First, the standard chat completion endpoint with your query is called. It returns an ID, which must then be passed as the sole input parameter followup_id to the specific second endpoint:

Model Response:

Last updated

Was this helpful?