Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Sep 25, 2024
1 parent 8210feb commit df463a3
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ When pulling a prompt, you can also specify a specific commit hash to pull a spe
tabs={[
PythonBlock(`prompt = client.pull_prompt("joke-generator:12344e88")`),
LangChainPyBlock(`prompt = prompts.pull("joke-generator:12344e88")`),
TypeScriptBlock(`const prompt = await prompts.pull("joke-generator:12344e88")`),
TypeScriptBlock(
`const prompt = await prompts.pull("joke-generator:12344e88")`
),
]}
groupId="client-language"
/>
Expand All @@ -193,7 +195,9 @@ To pull a public prompt from the LangChain Hub, you need to specify the handle o
tabs={[
PythonBlock(`prompt = client.pull_prompt("efriis/my-first-prompt")`),
LangChainPyBlock(`prompt = prompts.pull("efriis/my-first-prompt")`),
TypeScriptBlock(`const prompt = await prompts.pull("efriis/my-first-prompt")`),
TypeScriptBlock(
`const prompt = await prompts.pull("efriis/my-first-prompt")`
),
]}
groupId="client-language"
/>
Expand Down

0 comments on commit df463a3

Please sign in to comment.