Update prompts in README.
This commit is contained in:
+3
-3
@@ -85,7 +85,7 @@ API Endpoints Examples
|
||||
"Microsoft is located in Redmond, Washington."
|
||||
],
|
||||
"entities": ["organization", "person", "location"],
|
||||
"prompt": "Identify organizations, people, and places from the text.",
|
||||
"prompt": "Identify organizations, people, and places from the text:\n",
|
||||
"threshold": 0.5
|
||||
}'
|
||||
|
||||
@@ -155,7 +155,7 @@ API Endpoints Examples
|
||||
"Bill Gates leads Microsoft."
|
||||
],
|
||||
"relations": ["founded_by", "leads"],
|
||||
"prompt": "Extract the relationships between the entities.",
|
||||
"prompt": "Extract the relationships between the entities:\n",
|
||||
"threshold": 0.5
|
||||
}'
|
||||
|
||||
@@ -222,7 +222,7 @@ API Endpoints Examples
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"text": "Artificial intelligence is transforming industries worldwide. Machine learning enables computers to learn from data. Deep learning uses neural networks for complex tasks.",
|
||||
"prompt": "Generate a concise summary of the key concepts.",
|
||||
"prompt": "Generate a concise summary of the key concepts:\n",
|
||||
"threshold": 0.5
|
||||
}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user