Skip to content

Commit 8ee741b

Browse files
author
Chris Park
committed
Updated examples
1 parent 35549e4 commit 8ee741b

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

examples/relationships.curl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ curl -X POST \
33
-H "Content-Type: application/json" \
44
-H "Accept: application/json" \
55
-H "Cache-Control: no-cache" \
6-
-d '{"content": "The Ghostbusters movie was filmed in Boston."}' \
6+
-d '{"content": "Bill Gates, Microsoft\u0027s former CEO, is a philanthropist."}' \
77
"https://api.rosette.com/rest/v1/relationships/"

examples/syntax_dependencies.curl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ curl -X POST \
33
-H "Content-Type: application/json" \
44
-H "Accept: application/json" \
55
-H "Cache-Control: no-cache" \
6-
-d '{"content": "Sony Pictures is planning to shoot a good portion of the new Ghostbusters in Boston as well.", "genre": "social-media" }' \
6+
-d '{"content": "Yoshinori Ohsumi, a Japanese cell biologist, was awarded the Nobel Prize in Physiology or Medicine on Monday.", "genre": "social-media" }' \
77
"https://api.rosette.com/rest/v1/syntax/dependencies"

examples/text_embedding.curl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ curl -X POST \
33
-H "Content-Type: application/json" \
44
-H "Accept: application/json" \
55
-H "Cache-Control: no-cache" \
6-
-d '{"content": "Cambridge, Massachusetts" }' \
6+
-d '{"content": null }' \
77
"https://api.rosette.com/rest/v1/text-embedding"

run-examples.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)