IdentifiedEntity

org.llm4s.knowledgegraph.query.IdentifiedEntity
case class IdentifiedEntity(mention: String, nodeId: String, nodeLabel: String, confidence: Double)

An entity identified from the user's question and matched to a graph node.

Value parameters

confidence

Matching confidence score (0.0 to 1.0)

mention

The text mention from the question

nodeId

The matched node ID in the graph

nodeLabel

The label of the matched node

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product