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'
}How to make a call
Check how this call is made in the example below.
Note that queries can include advanced search syntax:
Search for an exact match: Enter a word or phrase using
\"before and after it. For example,\"tallest building\".Search for a specific site: Enter
site:in front of a site or domain. For example,site:youtube.com cat videos.Exclude words from your search: Enter
-in front of a word that you want to leave out. For example,jaguar speed -car.
API Schema
Bearer key
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?