GraphQueryResult

org.llm4s.knowledgegraph.query.GraphQueryResult
See theGraphQueryResult companion object
case class GraphQueryResult(nodes: Seq[Node], edges: Seq[Edge], paths: Seq[List[Edge]], summary: String)

Result of executing a graph query.

Value parameters

edges

The edges returned by the query (relationships between result nodes)

nodes

The nodes returned by the query

paths

Ordered paths found (for path queries)

summary

A human-readable summary of the result

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isEmpty: Boolean

Whether this result is empty (no nodes or edges found).

Whether this result is empty (no nodes or edges found).

Attributes

Merge two query results together, deduplicating nodes by ID.

Merge two query results together, deduplicating nodes by ID.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product