Skip to content

Commit

Permalink
fix: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhjz committed Jan 11, 2024
1 parent 7bbe09e commit bc340e3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/qianfan/resources/images/image2text.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]):
Expand Down Expand Up @@ -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]):
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit bc340e3

Please sign in to comment.