PropertyDefinition

org.llm4s.knowledgegraph.extraction.PropertyDefinition
case class PropertyDefinition(name: String, description: String, required: Boolean)

Defines a property expected on an entity type.

Value parameters

description

Optional description used as a hint for the LLM

name

The property name (e.g., "role", "department")

required

Whether this property must be present on extracted entities of the parent type

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