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
Source
GraphQuery.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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

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

Attributes

Source
GraphQuery.scala

Merge two query results together, deduplicating nodes by ID.

Merge two query results together, deduplicating nodes by ID.

Attributes

Source
GraphQuery.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product