Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to set up abstractor configuration and abstractions from external NLP #128

Open
ybushmanova opened this issue Aug 27, 2015 · 0 comments

Comments

@ybushmanova
Copy link
Member

Allow to set up AbstractorAbstractionSchemaSource for an 'about' type. On 'about.abstract' send the following request to specified NLP provider:
{
"universe_id": integer,
"universe_name": string,
"universe_name_variants": array,
"about_type": string,
"about_id": integer,
"suggestions_uri": string
"text": string
}
and expect the following response posted to the suggestions_uri:
{
'universe_id': integer,
'about_type': string,
'about_id': string,
'source': string
'result': [{
'galaxy': [{
'key': string,
'value': string,
'origin': string,
'key_score': string,
'value_score': string,
'sub_keys': [{
'key': string,
'value': string,
'origin': string,
'key_score': string,
'value_score': string,
'sub_keys': array
}]
}]
}, {
'galaxy': [{
'key': string,
'value': string,
'origin': string,
'key_score': string,
'value_score': string,
'sub_keys': [{
'key': string,
'value': string,
'origin': string,
'key_score': string,
'value_score': string,
'sub_keys': array
}]
}]
}]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant