From 88b1c4c3b85154f574b1bfc8a6419270df7847f0 Mon Sep 17 00:00:00 2001 From: jacoblee93 Date: Mon, 4 Sep 2023 19:10:09 -0700 Subject: [PATCH] Remove langchainhub install requirement from JS docs --- src/components/Hub.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Hub.js b/src/components/Hub.js index 903f461c07dcc..fd75e2fbfe588 100644 --- a/src/components/Hub.js +++ b/src/components/Hub.js @@ -24,19 +24,19 @@ export const HubInstallationCodeTabs = () => ( value: 'typescript', label: 'yarn', language: 'bash', - content: `yarn add langchain langchainhub`, + content: `yarn add langchain`, }, { value: 'npm', label: 'npm', language: 'bash', - content: `npm install -S langchain langchainhub`, + content: `npm install -S langchain`, }, { value: 'pnpm', label: 'pnpm', language: 'bash', - content: `pnpm add langchain langchainhub`, + content: `pnpm add langchain`, }, ]} /> @@ -72,8 +72,8 @@ const model = new ChatOpenAI(); // use it in a runnable const runnable = prompt.pipe(model); const result = await runnable.invoke({ - "profession": "biologist", - "question": "What is special about parrots?", + "profession": "biologist", + "question": "What is special about parrots?", }); console.log(result);`