Neo4jGraphStore

org.llm4s.knowledgegraph.neo4j.Neo4jGraphStore
See theNeo4jGraphStore companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Config(uri: String, user: String, password: String, database: String, maxPoolSize: Int)

Configuration for Neo4jGraphStore.

Configuration for Neo4jGraphStore.

Value parameters

database

Target database (default "neo4j")

maxPoolSize

Maximum number of connections in the driver pool (default 10)

password

Database password (default "")

uri

Bolt URI, e.g. bolt://localhost:7687

user

Database user (default "neo4j")

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

Creates a Neo4jGraphStore from a Config.

Creates a Neo4jGraphStore from a Config.

Attributes

def apply(uri: String, user: String, password: String, database: String): Result[Neo4jGraphStore]

Creates a Neo4jGraphStore from individual connection parameters.

Creates a Neo4jGraphStore from individual connection parameters.

Attributes

def apply(driver: Driver, database: String): Result[Neo4jGraphStore]

Creates a Neo4jGraphStore from an existing driver. The driver will NOT be closed when the store is closed.

Creates a Neo4jGraphStore from an existing driver. The driver will NOT be closed when the store is closed.

Value parameters

database

Target database

driver

Existing Neo4j driver (caller manages lifecycle)

Attributes

def local(user: String, password: String): Result[Neo4jGraphStore]

Connects to bolt://localhost:7687 with the given credentials.

Connects to bolt://localhost:7687 with the given credentials.

Attributes