Skip to content

Upgrade langchain to v1 #1478

@YasharF

Description

@YasharF

Pre-req:

  1. You must have the RAG example up and working with a MongoDB Atlas instance, and valid Together AI and Hugging Face API keys.
  2. Your instance should be able to ingest PDFs of Microsoft and Amazon 2024 Annual Reports. (You can download the PDFs from https://ir.aboutamazon.com/annual-reports-proxies-and-shareholder-letters/default.aspx and https://www.microsoft.com/investor/reports/ar24/download-center/?msockid=2e8e9549a3976e96005f81c6a22d6fa0)
  3. Your instance must be able answer questions related to the Annual reports thru the UI without any errors.

Scope:

@langchain/community     to ^1.0.0
@langchain/core          to ^1.0.1
@langchain/mongodb       to ^1.0.0
@langchain/textsplitters to ^1.0.0
langchain                to ^1.0.1

patches/@langchain+mongodb+0.1.1.patch  to be upgraded for the new version
patches/langchain+0.3.36.patch          to be upgraded for the new version

You should be able to have the RAG example ingest the PDFs and answer related questions after the upgrade.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions