org.llm4s.knowledgegraph
package org.llm4s.knowledgegraph
Members list
Type members
Classlikes
case class Edge(source: String, target: String, relationship: String, properties: Map[String, Value])
Represents an edge (relationship) between two nodes.
Represents an edge (relationship) between two nodes.
Value parameters
- properties
-
Additional attributes of the relationship (preserves JSON types)
- relationship
-
The type of relationship (e.g., "WORKS_FOR", "LOCATED_IN")
- source
-
The ID of the source node
- target
-
The ID of the target node
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Represents a Knowledge Graph containing nodes and edges.
Represents a Knowledge Graph containing nodes and edges.
Value parameters
- edges
-
List of Edges in the graph
- nodes
-
Map of Node ID to Node object
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Graph
Represents a node (entity) in the knowledge graph.
Represents a node (entity) in the knowledge graph.
Value parameters
- id
-
Unique identifier for the node
- label
-
The type or category of the entity (e.g., "Person", "Organization")
- properties
-
Additional attributes of the entity (preserves JSON types)
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
In this article