1 unstable release

0.0.2 Mar 21, 2021

#7 in #recommender

Apache-2.0

13KB

Neon NLP

Consumption

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
      }
    }
  }
}

Implemtation

Dependencies

~30MB
~617K SLoC