Last active
June 14, 2021 14:16
-
-
Save bobvanluijt/c21b766c6eb358573035408323c2096a to your computer and use it in GitHub Desktop.
NEN - first GraphQL query
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
Get { | |
Paragraph ( | |
limit: 3 # show the first three results | |
nearText: { | |
concepts: ["machines to make pasta"] # the semantic query | |
certainty: 0.6 # between 0.0 and 1.0, the higher the certainty the more the document should match the query | |
}){ | |
inDocument { | |
... on Document { | |
title | |
number | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment