LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithclientClientcreate_project
Methodā—Since v0.0

create_project

Copy
create_project(
  self,
  project_name: str,
  *,
  description: Optional[str] = 
View source on GitHub
None
,
metadata
:
Optional
[
dict
]
=
None
,
upsert
:
bool
=
False
,
project_extra
:
Optional
[
dict
]
=
None
,
reference_dataset_id
:
Optional
[
ID_TYPE
]
=
None
)
->
ls_schemas
.
TracerSession

Parameters

NameTypeDescription
project_name*str

The name of the project.

project_extraOptional[dict]
Default:None

Additional project information.

metadataOptional[dict]
Default:None
descriptionOptional[str]
Default:None
upsertbool, default=False
Default:False
reference_dataset_idOptional[Union[UUID, str]
Default:None

Create a project on the LangSmith API.

Additional metadata to associate with the project.

The description of the project.

Whether to update the project if it already exists.

The ID of the reference dataset to associate with the project.