Skip to content

Conversation

@serengil
Copy link
Contributor

@serengil serengil commented Oct 30, 2025

Description

The additional arguments we previously introduced to the invoke function in LLMInterface broke compatibility with LangChain. This change introduces a new LLMInterfaceV2 contract that is fully compatible with LangChain while maintaining backward compatibility. If any users have implemented the old LLMInterface manually, their implementations will continue to work without modification.

Resolves #383

Type of Change

  • New feature
  • Bug fix
  • Breaking change
  • Documentation update
  • Project configuration change

Complexity

Moderate. Even though a new contract provided, the old contact is still valid to offer backward compability.

Complexity:

How Has This Been Tested?

  • Unit tests
  • E2E tests
  • Manual tests

Checklist

The following requirements should have been met (depending on the changes in the branch):

  • Documentation has been updated
  • Unit tests have been updated
  • E2E tests have been updated
  • Examples have been updated
  • New files have copyright header
  • CLA (https://neo4j.com/developer/cla/) has been signed
  • CHANGELOG.md updated if appropriate

@serengil serengil requested a review from a team as a code owner October 30, 2025 10:16
Copy link
Contributor

@stellasia stellasia left a comment

Choose a reason for hiding this comment

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

Nice work, I haven't read everything yet, but left a few comments/questions.

Copy link
Contributor

@stellasia stellasia left a comment

Choose a reason for hiding this comment

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

Nice work! Thank you for tackling this issue.

@serengil serengil merged commit 62bbea3 into neo4j:main Jan 9, 2026
9 checks passed
@serengil serengil deleted the sefik/langchain-compability branch January 9, 2026 11:13
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.

langchain is not available

3 participants