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
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
PythonlangsmithclientClientcreate_project
Method●Since v0.0

create_project

Create a project on the LangSmith API.

Copy
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

Parameters

NameTypeDescription
project_name*str

The name of the project.

project_extraOptional[dict]
Default:None

Additional project information.

metadataOptional[dict]
Default:None

Additional metadata to associate with the project.

descriptionOptional[str]
Default:None

The description of the project.

upsertbool, default=False
Default:False

Whether to update the project if it already exists.

reference_dataset_idOptional[Union[UUID, str]
Default:None

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

View source on GitHub