Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
XiChenn committed Apr 26, 2023
1 parent b8263a5 commit 4c1fc67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pybossa/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,8 +856,8 @@ def user_has_partial_answer(short_name=None):
@ratelimit(limit=ratelimits.get('LIMIT'), per=ratelimits.get('PER'))
def large_language_model(model_name):
"""Large language model endpoint
The POST data format can be:
data = {
The JSON data in the POST request can be one of the following:
{
"instances": [
{
"context": "Identify the company name: Microsoft will release Windows 20 next year.",
Expand All @@ -869,7 +869,7 @@ def large_language_model(model_name):
]
}
or
data = {
{
"prompts": "Identify the company name: Microsoft will release Windows 20 next year."
}
"""
Expand Down

0 comments on commit 4c1fc67

Please sign in to comment.