Skip to content
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

Makes the source parameter of GraphDocument optional #32

Conversation

alexthomas93
Copy link
Collaborator

@alexthomas93 alexthomas93 commented Jan 7, 2025

Description

This PR updates the GraphDocument class to make the source parameter optional. It also updates the add_graph_documents method of the Neo4jGraph class to work with this. This is to allow users to add nodes and relationships to a graph without the need for a source document.

Type of Change

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

Complexity

Low

How Has This Been Tested?

  • Unit tests
  • Integration tests
  • Manual tests

Checklist

  • Unit tests updated
  • Integration tests updated
  • CHANGELOG.md updated

@alexthomas93
Copy link
Collaborator Author

@CodiumAI-Agent /update_changelog

@CodiumAI-Agent
Copy link

Changelog updates: 🔄

[2025-01-07][https://github.com//pull/32]

Changed

  • Made the source parameter of GraphDocument optional and updated related methods to support this.

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

@alexthomas93 alexthomas93 merged commit daeb84a into langchain-ai:main Jan 8, 2025
8 checks passed
@alexthomas93 alexthomas93 deleted the feature/graph-document-source-optional branch January 8, 2025 11:06
@CodiumAI-Agent
Copy link

Changelog updates: 🔄

2025-01-08

Changed

  • Made the source parameter of GraphDocument optional and updated related methods to support this.

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.

3 participants