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 ( | |
ask: { | |
question: "what is the distance between the frame and the outside wall of the bowl?", | |
properties: ["text"] | |
}, | |
limit:1 | |
){ | |
text |
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
{ | |
"Paragraph": [ | |
{ | |
"_additional": { | |
"answer": { | |
"certainty": 0.76, | |
"result": "50 mm" | |
} | |
}, | |
"inDocument": [ |
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
{ | |
"Paragraph": [ | |
{ | |
"inDocument": [ | |
{ | |
"number": "NEN-EN 15774 en", | |
"title": "Food processing machinery - Machines for processing fresh and filled pasta (tagliatelle, cannelloni, ravioli, tortellini, orecchiette and gnocchi) - Safety and hygiene requirements" | |
}, | |
{ | |
"number": "NEN-EN 13621 en", |
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
[ | |
"Product A", | |
"Product B", | |
"Product C", | |
"Product D" | |
] |
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
# STEP 1 | |
$ sudo apt update && \ | |
sudo apt -qq -y install \ | |
gcc \ | |
make \ | |
software-properties-common \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
git \ |
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( | |
ask: { | |
question: "Where is the States General of The Netherlands located?" | |
properties: ["content"] | |
} | |
limit: 1 | |
) { | |
_additional { |
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( | |
nearText: { | |
concepts: ["Italian food"] | |
} | |
limit: 50 | |
) { | |
content | |
order |
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( | |
ask: { | |
question: "What was Michael Brecker's first saxophone?" | |
properties: ["content"] | |
} | |
where: { | |
operator: Equal | |
path: ["inArticle", "Article", "title"] |
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( | |
nearText: { | |
concepts: ["jazz saxophone players"] | |
} | |
limit: 25 | |
) { | |
content | |
order |
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
## | |
# Read only Weaviate config. | |
# Update the comments in the config file below | |
# | |
# The setup assumes that Nginx can find the Weaviate instance | |
# or cluster on http://weaviate-server:4001 (this can be updated) | |
# | |
## | |
server { | |
listen 4000 default_server; # port 4000 is where the nginx config listens to |