Skip to content

Neo4j message history #273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Feb 21, 2025
Merged

Conversation

alexthomas93
Copy link
Contributor

@alexthomas93 alexthomas93 commented Feb 18, 2025

Description

This pull request introduces a Neo4jMessageHistory class for storing LLM message histories in a Neo4j database and updates existing classes to use it. It also provides an InMemoryMessageHistory class for in-memory storage, along with a new MessageHistory abstract base class that both implementations inherit from. Lastly, it includes examples and updates the documentation to illustrate how these classes can be used.

Type of Change

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

Complexity

Complexity: Medium

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

@alexthomas93 alexthomas93 requested a review from a team as a code owner February 18, 2025 15:39
@alexthomas93
Copy link
Contributor Author

@CodiumAI-Agent /update_changelog

@CodiumAI-Agent
Copy link

Changelog updates: 🔄

[2025-02-18]*

Added

  • Introduced Neo4jMessageHistory and InMemoryMessageHistory classes for managing LLM message histories.
  • Added examples and documentation for using message history with Neo4j and in-memory storage.
  • Enhanced LLM interfaces to support message history integration.

to commit the new content to the CHANGELOG.md file, please type:
'/update_changelog --pr_update_changelog.push_changelog_changes=true'

@alexthomas93 alexthomas93 force-pushed the feature/message-history branch from 63b549e to f56ba20 Compare February 20, 2025 10:05
@alexthomas93 alexthomas93 merged commit b893584 into neo4j:main Feb 21, 2025
7 checks passed
@alexthomas93 alexthomas93 deleted the feature/message-history branch February 21, 2025 09:18
@CodiumAI-Agent
Copy link

Changelog updates: 🔄

2025-02-21 *

Added

  • Introduced Neo4jMessageHistory and InMemoryMessageHistory classes for managing LLM message histories.
  • Added examples and documentation for using message history with Neo4j and in-memory storage.
  • Updated LLM and GraphRAG classes to support new message history classes.

to commit the new content to the CHANGELOG.md file, please type:
'/update_changelog --pr_update_changelog.push_changelog_changes=true'

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.

4 participants