From bc340e3f72c5ba68fe42fb05ef51ce16ccadb625 Mon Sep 17 00:00:00 2001 From: zhonghanjun Date: Thu, 11 Jan 2024 21:57:55 +0800 Subject: [PATCH] fix: comments --- src/qianfan/resources/images/image2text.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/qianfan/resources/images/image2text.py b/src/qianfan/resources/images/image2text.py index 819ae3e8..53fec558 100644 --- a/src/qianfan/resources/images/image2text.py +++ b/src/qianfan/resources/images/image2text.py @@ -135,7 +135,7 @@ def do( prompt (str): The user input or prompt for which a response is generated. image (str): - The user input image for which a response is generated. + The user input base64 encoded image data for which a response is generated. model (Optional[str]): The name or identifier of the language model to use. endpoint (Optional[str]): @@ -198,7 +198,7 @@ async def ado( prompt (str): The user input or prompt for which a response is generated. image (str): - The user input image for which a response is generated. + The user input base64 encoded image data for which a response is generated. model (Optional[str]): The name or identifier of the language model to use. endpoint (Optional[str]): @@ -252,7 +252,8 @@ def batch_do( Parameters: input_list (Tuple(str, str)): - The list user input prompt and image for which a response is generated. + The list user input prompt and base64 encoded image data for which a + response is generated. worker_num (Optional[int]): The number of prompts to process at the same time, default to None, which means this number will be decided dynamically. @@ -292,7 +293,8 @@ async def abatch_do( Parameters: input_list (Tuple(str, str)): - The list user input prompt and image for which a response is generated. + The list user input prompt and base64 encoded image data for which a + response is generated. worker_num (Optional[int]): The number of prompts to process at the same time, default to None, which means this number will be decided dynamically.