Skip to content

Commit b8bf549

Browse files
committed
added suggestions
1 parent 53e6bf7 commit b8bf549

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
@@ -883,8 +883,8 @@ def create_prompt_response_generation_project(self,
883883

884884
@overload
885885
def create_prompt_response_generation_project(self,
886-
dataset_id: str,
887886
dataset_name: str = None,
887+
dataset_id: str,
888888
data_row_count: int = 100,
889889
**kwargs) -> Project:
890890
pass
@@ -901,7 +901,7 @@ def create_prompt_response_generation_project(self,
901901
dataset_name: When creating a new dataset, pass the name
902902
dataset_id: When using an existing dataset, pass the id
903903
data_row_count: The number of data row assets to use for the project
904-
**kwargs: Additional parameters to pass to the the create_project method
904+
**kwargs: Additional parameters to pass see the create_project method
905905
Returns:
906906
Project: The created project
907907
@@ -915,7 +915,7 @@ def create_prompt_response_generation_project(self,
915915
>>> client.create_prompt_response_generation_project(name=project_name, dataset_id="clr00u8j0j0j0", project_kind=MediaType.LLMPromptCreation)
916916
>>> 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.
917917
918-
>>> client.create_prompt_response_generation_project(name=project_name, dataset_id="clr00u8j0j0j0", data_row_count=10, project_kind=MediaType.LLMPromptCreation)
918+
>>> client.create_prompt_response_generation_project(name=project_name, dataset_id="clr00u8j0j0j0", data_row_count=10, project_kind=MediaType.LLMPromptResponseCreation)
919919
>>> 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.
920920
921921
"""

0 commit comments

Comments
 (0)