Skip to content

Conversation

eyurtsev
Copy link
Collaborator

@eyurtsev eyurtsev commented Jul 22, 2025

This PR adds scaffolding for langchain 1.0 entry package.

Most contents have been removed.

Currently remaining entrypoints for:

  • chat models
  • embedding models
  • memory -> trimming messages, filtering messages and counting tokens [we may remove this]
  • prompts -> we may remove some prompts
  • storage: primarily to support cache backed embeddings, may remove the kv store
  • tools -> report tool primitives

Things to be added:

  • Selected agent implementations
  • Selected workflows
  • Common primitives: messages, Document
  • Primitives for type hinting: BaseChatModel, BaseEmbeddings
  • Selected retrievers
  • Selected text splitters

Things to be removed:

  • Globals needs to be removed (needs an update in langchain core)

Todos:

  • TBD indexing api (requires sqlalchemy which we don't want as a dependency)
  • Be explicit about public/private interfaces (e.g., likely rename chat_models.base.py to something more internal)
  • Remove dockerfiles
  • Update module doc-strings and README.md

Copy link

vercel bot commented Jul 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Jul 23, 2025 7:47pm

Copy link

codspeed-hq bot commented Jul 22, 2025

CodSpeed WallTime Performance Report

Merging #32166 will not alter performance

Comparing v1_release/lc (cae7ea9) with master (a7d0e42)

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Summary

✅ 13 untouched benchmarks

Copy link

codspeed-hq bot commented Jul 22, 2025

CodSpeed Instrumentation Performance Report

Merging #32166 will not alter performance

Comparing v1_release/lc (cae7ea9) with master (a7d0e42)

Summary

✅ 14 untouched benchmarks

@mdrxy mdrxy changed the title feature(langchain-v1): WIP feat(langchain): v1 WIP Jul 22, 2025
@mdrxy mdrxy added this to the v1 milestone Jul 22, 2025
@eyurtsev eyurtsev marked this pull request as ready for review July 23, 2025 22:01
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this meant for the dev container?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No idea why it's there I'll remove do a quick follow up to clean up everything we don't need

@eyurtsev eyurtsev merged commit 56dde3a into master Jul 24, 2025
155 of 157 checks passed
@eyurtsev eyurtsev deleted the v1_release/lc branch July 24, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants