Crates.io | neon_nlp |
lib.rs | neon_nlp |
version | 0.0.2 |
source | src |
created_at | 2021-03-21 21:45:33.350781 |
updated_at | 2021-03-21 21:45:33.350781 |
description | A text recommender for Neon MDX |
homepage | |
repository | https://github.com/neonlaw/codebase |
max_upload_size | |
id | 371862 |
size | 45,813 |
A graphql server that exposes one Query
to get recommendations about your
text.
query {
text(
# The text, in mdx format, that you want to analyze. The text must be
# validly formatted mdx according to our remark guidelines.
mdx: String!
# An optional User ID, if included the recommendations will also include
# tokens scoped to this user.
userId: UUID
) {
nodes {
# When the text was processed
processedAt
# Recommendations to make based off the input.
recommendations {
# What line the recommendation begins on
beginningLineNumber
# What character the recommendation begins on
beginningCharacterNumber
# What line the recommendation ends on
endingLineNumber
# What character the recommendation ends on
endingCharacterNumber
# The text of the recommendation
body
}
}
}
}