ai.entity.prompts

Credits: 1/entry returned
Creates a list of the most relevant prompts for which the specified entity appears in the response. Each prompt represents a typical question or query where the entity is a central part of the AI’s answer. The number of prompts can be controlled with the limit parameter. Further adjustments can be made using the model and lang parameters, which define the AI model and the language used for prompt generation.

Result

The result contains prompts that are most relevant to the specified entity. Each entry includes the prompt itself, the AI model that generated the response, the generated message (answer text), and the language of the output.

GET-Parameters

Parameters (Mandatory)

api_key
STRING
Your personal API key. This key is used to authenticate your requests. You can obtain it here.
entity
STRING
In the context of AI analysis, an entity is a clearly identifiable object or concept mentioned within a text. This can include companies or brands (e.g., SISTRIX, Nike), people (e.g., Angela Merkel), places (e.g., Berlin, New York), or products and services (e.g., Toolbox, iPhone).

Parameters (Optional)

model
STRING
Defines the model for which the method will be executed. If no model is specified, results for all AI models will be returned. This can also be explicitly set by using the value all.
lang
STRING
Defines the language in which the results will be returned. The parameter follows ISO 639 (German = de). If no language is specified, the default Toolbox language will be used.
limit
INTEGER
Specifies the number of reults for each page. Adjust this value to control the number of results returned on each page. By default, this parameter is set to 100.
page
INTEGER
Specifies which set of recources to return. This allows you to choose a specific page of results, with the number of results for each page determined by the limit parameter.
format
STRING
Specifies whether the response will be returned in XML or JSON format. By default, the result will be in XML format.
To be able to use the API documentation with real data, you have to create an API key in your account.
EXAMPLE
$baseUrl = "https://api.sistrix.com/ai.entity.prompts";
$post = [

];
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $baseUrl);
curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($curl);
curl_close($curl);
import requests
baseUrl = 'https://api.sistrix.com/ai.entity.prompts'
post = {

}
response = requests.post(baseUrl, post)
data = response.text
curl https://api.sistrix.com/ai.entity.prompts \
let baseUrl = 'https://api.sistrix.com/ai.entity.prompts';
let form = new FormData();

fetch(baseUrl, {
method: 'POST',
body: form
}).then(function(response){
return response.text();
}).then(function(data){
//data contains the results of the request
})