Knowledge graph
Knowledge-graph builder-facing config objects.
This module contains small public config objects used by the
MemoryManagerConfig knowledge-graph builder surface.
Neo4jGraphStoreConfig(uri, user, password, max_connection_pool_size=DEFAULTS.knowledge_graph_neo4j_max_connection_pool_size)
dataclass
Represent one caller-facing Neo4j graph-store config.
Attributes:
| Name | Type | Description |
|---|---|---|
uri |
str
|
Neo4j connection URI. |
user |
str
|
Neo4j username. |
password |
str
|
Neo4j password. |
max_connection_pool_size |
int
|
Maximum Neo4j connection pool size. |
to_config_dict()
Convert one config object into a plain Neo4j config payload.
Returns:
| Type | Description |
|---|---|
dict[str, str | int]
|
dict[str, str | int]: Plain Neo4j config payload. |