Create a project on the LangSmith API.
create_project(
self,
project_name: str,
*,
description: Optional[str] = None,
metadata: Optional[dict] = None,
upsert: bool = False,
project_extra: Optional[dict] = None,
reference_dataset_id: Optional[ID_TYPE] = None
) -> ls_schemas.TracerSession| Name | Type | Description |
|---|---|---|
project_name* | str | The name of the project. |
project_extra | Optional[dict] | Default: NoneAdditional project information. |
metadata | Optional[dict] | Default: NoneAdditional metadata to associate with the project. |
description | Optional[str] | Default: NoneThe description of the project. |
upsert | bool, default=False | Default: FalseWhether to update the project if it already exists. |
reference_dataset_id | Optional[Union[UUID, str] | Default: NoneThe ID of the reference dataset to associate with the project. |