1 个不稳定版本
0.0.2 | 2021年3月21日 |
---|
#7 在 #recommender
13KB
Neon NLP
消耗
一个暴露一个用于获取文本推荐信息的Query
的graphql服务器。
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
}
}
}
}
实现
依赖项
~28MB
~588K SLoC