Skip to content

Commit

Permalink
docs: add versions to the prompt pull/push docs (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw authored Sep 10, 2024
2 parents b596d9a + 856b0c4 commit 970a199
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,19 @@ All functionality going forward will live in the `langsmith` package.

## Install packages

In Python, you can directly use the LangSmith SDK (_recommended, full functionality_) or you can use through the LangChain package (limited to pushing and pulling prompts).

In TypeScript, you must use the LangChain npm package for pulling prompts (it also allows pushing). For all other functionality, use the LangSmith package.

<CodeTabs
tabs={[
PythonBlock(`pip install -U langsmith`),
LangChainPyBlock(`pip install -U langchain langsmith`),
TypeScriptBlock(`yarn add langsmith`),
PythonBlock(`pip install -U langsmith \n# version >= 0.1.99`),
LangChainPyBlock(
`pip install -U langchain langsmith \n# langsmith version >= 0.1.99 and langchain >= 0.2.13`
),
TypeScriptBlock(
`yarn add langsmith langchain \n// langsmith version >= 0.1.99 and langchain version >= 0.2.14`
),
]}
groupId="client-language"
/>
Expand Down

0 comments on commit 970a199

Please sign in to comment.