From 4c1fc67d9e242403949e75d83fc0ef06282d509d Mon Sep 17 00:00:00 2001 From: Xi Chen Date: Wed, 26 Apr 2023 11:41:38 -0400 Subject: [PATCH] update comment --- pybossa/api/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pybossa/api/__init__.py b/pybossa/api/__init__.py index 5eedf257b..9b2f104a7 100644 --- a/pybossa/api/__init__.py +++ b/pybossa/api/__init__.py @@ -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.", @@ -869,7 +869,7 @@ def large_language_model(model_name): ] } or - data = { + { "prompts": "Identify the company name: Microsoft will release Windows 20 next year." } """