Update prompts in README.

main
KKlochko 1 month ago
parent eb41be0202
commit 53944c8082
Signed by: KKlochko
GPG Key ID: 572ECCD219BBA91B

@ -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
}'

Loading…
Cancel
Save