-
Notifications
You must be signed in to change notification settings - Fork 46
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
Override neo4j user agent when driver is injected #243
base: main
Are you sure you want to change the base?
Conversation
LGTM. Just one point: I think we're doing things wrong here, by setting |
I think is fine because I'm modifying the driver object that is being passed around. If you check the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
Is there a way to verify that this work, in a test or so?
@@ -6,11 +6,12 @@ | |||
from neo4j_graphrag.experimental.components.kg_writer import KGWriter, KGWriterModel | |||
from neo4j_graphrag.experimental.components.types import LexicalGraphConfig, Neo4jGraph | |||
from pydantic import validate_call | |||
from neo4j_graphrag.utils import telemetry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure this should be classified as telemetry, so this name is a bit misleading.
I'd say it's more of a driver configuration change. So maybe name the module driver_config
or similar?
Description
Override neo4j user agent when driver is injected
Type of Change
Complexity
Low
Complexity:
How Has This Been Tested?
Checklist
The following requirements should have been met (depending on the changes in the branch):