Skip to content

Commit b1a45f9

Browse files
committed
added suggestions
1 parent 7b533ea commit b1a45f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/labelbox/src/labelbox/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -885,8 +885,8 @@ def create_prompt_response_generation_project(self,
885885

886886
@overload
887887
def create_prompt_response_generation_project(self,
888-
dataset_id: str,
889888
dataset_name: str = None,
889+
dataset_id: str,
890890
data_row_count: int = 100,
891891
**kwargs) -> Project:
892892
pass
@@ -903,7 +903,7 @@ def create_prompt_response_generation_project(self,
903903
dataset_name: When creating a new dataset, pass the name
904904
dataset_id: When using an existing dataset, pass the id
905905
data_row_count: The number of data row assets to use for the project
906-
**kwargs: Additional parameters to pass to the the create_project method
906+
**kwargs: Additional parameters to pass see the create_project method
907907
Returns:
908908
Project: The created project
909909
@@ -917,7 +917,7 @@ def create_prompt_response_generation_project(self,
917917
>>> client.create_prompt_response_generation_project(name=project_name, dataset_id="clr00u8j0j0j0", project_kind=MediaType.LLMPromptCreation)
918918
>>> This creates a new project, and adds 100 datarows to the dataset with id "clr00u8j0j0j0" and assigns a batch of the newly created data rows to the project.
919919
920-
>>> client.create_prompt_response_generation_project(name=project_name, dataset_id="clr00u8j0j0j0", data_row_count=10, project_kind=MediaType.LLMPromptCreation)
920+
>>> client.create_prompt_response_generation_project(name=project_name, dataset_id="clr00u8j0j0j0", data_row_count=10, project_kind=MediaType.LLMPromptResponseCreation)
921921
>>> This creates a new project, and adds 100 datarows to the dataset with id "clr00u8j0j0j0" and assigns a batch of the newly created 10 data rows to the project.
922922
923923
"""

0 commit comments

Comments
 (0)