GraphSchema

org.llm4s.knowledgegraph.storage.GraphSchema
See theGraphSchema companion object
final case class GraphSchema(nodeLabels: Seq[String], relationshipTypes: Seq[String], propertyKeys: Map[String, Seq[String]], edgePatterns: Seq[EdgePattern], labelsTruncated: Boolean, relationshipTypesTruncated: Boolean)

The vocabulary of a graph, as GraphStore.schema returns it (#3336).

Value parameters

edgePatterns

One example per listed relationship type, in the order of relationshipTypes

labelsTruncated

Whether the graph has more labels than nodeLabels lists

nodeLabels

Distinct node labels, sorted, at most the maxEntries asked for

propertyKeys

For each listed label, the property keys of one node with it, sorted, at most maxEntries

relationshipTypes

Distinct relationship types, sorted, at most the maxEntries asked for

relationshipTypesTruncated

Whether the graph has more relationship types than relationshipTypes lists

Attributes

Companion
object
Source
GraphStore.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product