Click on TRY to access to the Wikifriend Semantic Platform. In order to use our API, you must request a token that will identify the agent you want to use. Click on DOC to read the API documentation.
field | possible values | is required |
---|---|---|
wikiagent | The agent-id provided by wikifriend.net. | yes |
username | The username of the sender of the message. | yes if guest is not valued. |
guest | Allow access to guest users | yes if guest is not valued. |
question | The question to send to the Semantic Engine. | yes |
force_subscription | 0 do not force username subscription
1 force username subscription. | yes |
output | json, xml, html, text | yes |
language | the ISO 639-1 code of the language. | yes |
field | possible values | is required |
---|---|---|
text | The text of the question. | yes |
ask_for_metadata | 0 or 1 | no |
using_repeating_answers | 0 or 1. | no |
extra_data | an xml string defining extra data. | no |
field | description | is optional |
---|---|---|
post_processed_answer | A message describing specific events composed during post processing. | yes |
field | description | is optional |
---|---|---|
answer | The text of the answer. | no |
theme | The theme of the answer. | yes |
context | The context of the answer. | yes |
snippet | The snippet used by this answer. | yes |
sequence_number | The sequence id of the given answer. | no |
answer_score | The score of the given answer. Higher is the score, more accurate is the answer. | no |
tags | Tags linked to this answer. | yes |
label | A label describing this answer topic. | yes |
category | The category of this answer. | yes |
sub_category | The sub category of this answer. | yes |
answer_language | The language of the returned answer. | yes |
is_agent_answer | Specifies if the returned answer was given by the agent. | no |
is_dummy_answer | Specifies if the returned answer is not part of the specific knowledge. | no |
is_dummy_floor_answer | Specifies if the returned answer is a floor. | no |
is_suggestion_answer | Specifies if the returned answer is a suggestion. | no |
is_international_question | Specifies if the question was expressed with an International slang. | no |
is_dialog_in_progress | Specifies if there is a dialogue in progress. | no |
is_dialogue_answer | Specifies if the returned answer is part of a dialogue. | no |
delay | Specifies if there must be a delay before answering to the next question. | no |
code | reason |
---|---|
200 | ok |
404 | The service is not authorized. |
Wikifriend offers Software and Hardware with AI for Smart Home, Smart Health and Virtual Assistants
Wikifriend UG (haftungsbeschränkt)
Klemkestr. 4
13409 Berlin
Amtsgericht
Berlin - Charlottenburg
HRB 183577 B
imprint privacy developers