From 936b9a9891b88ba9c047795acc674a41b21e1891 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Fri, 2 Aug 2024 13:45:02 -0700 Subject: [PATCH] cr --- libs/langchain-scripts/src/cli/docs/retrievers.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/langchain-scripts/src/cli/docs/retrievers.ts b/libs/langchain-scripts/src/cli/docs/retrievers.ts index 1d0167cbe949..fc68cb96d5e3 100644 --- a/libs/langchain-scripts/src/cli/docs/retrievers.ts +++ b/libs/langchain-scripts/src/cli/docs/retrievers.ts @@ -123,10 +123,10 @@ export async function fillRetrieverIntegrationDocTemplate(fields: { packageNameGuess: `@langchain/${fields.packageName}`, isCommunity: fields.isCommunity, }); - const pySupport = extraFields.pySupport; - const canSelfHost = extraFields.canSelfHost; - const hasCloudOffering = extraFields.hasCloudOffering; - const packageName = extraFields.packageName; + const { pySupport } = extraFields; + const { canSelfHost } = extraFields; + const { hasCloudOffering } = extraFields; + const { packageName } = extraFields; const fullImportPath = extraFields.fullImportPath ?? extraFields.packageName; const apiRefModuleUrl = `https://api.js.langchain.com/classes/${fullImportPath