Skip to content

Conversation

stellasia
Copy link
Contributor

@stellasia stellasia commented Oct 8, 2025

Description

  • Add deprecation warnings as discussed internally
  • Remove abstractmethod for _invoke and _ainvoke methods, which would force users to implement these methods, even if they are already implementing the invoke/ainvoke method (ie would be a breaking change)
  • Same for the Embedder base clss
  • Add note in the documentation about LC not being compatible with the ToolsRetriever
  • Add documentation for the ToolsRetriever API and types

Type of Change

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

Complexity

Note

Please provide an estimated complexity of this PR of either Low, Medium or High

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

@stellasia stellasia requested a review from a team as a code owner October 8, 2025 09:16


class Embedder(ABC):
class Embedder:
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we care about things lost when we remove inheritance from ABC? less safety and early error handling?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, the only other solution I can think of is to create a LLMInterfaceV2. If you prefer this option, I'm fine with it.

@stellasia stellasia changed the title Fixes for the new LLMInterface Bug fixes Oct 8, 2025
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