Chore: Update @langchain/community (#3787)

* update package versions

* fix updated field defs due to lib update

* Merge branch 'main' into chore/Upgrade-LC-version

# Conflicts:
#	packages/components/package.json
#	pnpm-lock.yaml

* lintfix

* fix follow up prompt dialog

* lintfix

---------

Co-authored-by: Henry <hzj94@hotmail.com>
This commit is contained in:
Light
2025-01-15 03:30:51 +11:00
committed by GitHub
parent 16aa3a0d29
commit cc87d85675
6 changed files with 513 additions and 204 deletions
@@ -96,6 +96,7 @@ export const generateFollowUpPrompts = async (
model: providerConfig.modelName,
temperature: parseFloat(`${providerConfig.temperature}`)
})
// @ts-ignore
const structuredLLM = model.withStructuredOutput(FollowUpPromptType)
const structuredResponse = await structuredLLM.invoke(followUpPromptsPrompt)
return structuredResponse