FindPath
org.llm4s.knowledgegraph.query.GraphQuery.FindPath
case class FindPath(fromNodeId: String, toNodeId: String, maxHops: Int) extends GraphQuery
Find a path between two nodes.
Value parameters
- fromNodeId
-
The starting node ID
- maxHops
-
Maximum number of hops to search
- toNodeId
-
The target node ID
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GraphQueryclass Objecttrait Matchableclass Any
Members list
In this article