struct

PlaceOS::Driver::DriverModel::Metadata

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

arity(function_name : String | Symbol)
Source
functions

Note:: the use of both these functions is temporary

Source
functions=(functions : Hash(String, Hash(String, Array(JSON::Any))) | Nil)
Source
implements

Interfaces implemented by module

Source
implements=(implements : Array(String))

Interfaces implemented by module

Source
implements?

Interfaces implemented by module

Source
interface

Functions available on module, map of function name to args

Source
interface=(interface : Hash(String, Hash(String, JSON::Any)) | Nil)

Functions available on module, map of function name to args

Source
llm_interface

a minimal interface for informing Large Language Models

Source
notes

Notes that might be relevant to a LLM

Source
notes=(notes : String | Nil)

Notes that might be relevant to a LLM

Source
requirements

Module requirements, map of module name to required interfaces

Source
requirements=(requirements : Hash(String, Array(String)))

Module requirements, map of module name to required interfaces

Source
requirements?

Module requirements, map of module name to required interfaces

Source
security

Function access control, map of access level to function names

Source
security=(security : Hash(String, Array(String)))

Function access control, map of access level to function names

Source
security?

Function access control, map of access level to function names

Source
settings

JSON Schema derived from the settings used in the driver

Source
settings=(settings : NamedTuple(type: String, properties: Hash(String, JSON::Any) | Nil, required: Array(String) | Nil) | Nil)

JSON Schema derived from the settings used in the driver

Source
versions

library versions

Source
versions=(versions : Hash(String, String) | Nil)

library versions

Source