struct PlaceOS::Driver::DriverModel::Metadata
- PlaceOS::Driver::DriverModel::Metadata
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
placeos-driver/driver_model.crConstructors
Instance Method Summary
- #arity(function_name : String | Symbol)
-
#functions : Hash(String, Hash(String, Array(JSON::Any)))
Note:: the use of both these functions is temporary
DEPRECATED Use
#interface
instead - #functions=(functions : Hash(String, Hash(String, Array(JSON::Any))) | Nil)
-
#implements : Array(String)
Interfaces implemented by module
-
#implements=(implements : Array(String))
Interfaces implemented by module
-
#implements? : Array(String) | Nil
Interfaces implemented by module
-
#interface : Hash(String, Hash(String, JSON::Any))
Functions available on module, map of function name to args
-
#interface=(interface : Hash(String, Hash(String, JSON::Any)) | Nil)
Functions available on module, map of function name to args
-
#llm_interface
a minimal interface for informing Large Language Models
-
#notes : String | Nil
Notes that might be relevant to a LLM
-
#notes=(notes : String | Nil)
Notes that might be relevant to a LLM
-
#requirements : Hash(String, Array(String))
Module requirements, map of module name to required interfaces
-
#requirements=(requirements : Hash(String, Array(String)))
Module requirements, map of module name to required interfaces
-
#requirements? : Hash(String, Array(String)) | Nil
Module requirements, map of module name to required interfaces
-
#security : Hash(String, Array(String))
Function access control, map of access level to function names
-
#security=(security : Hash(String, Array(String)))
Function access control, map of access level to function names
-
#security? : Hash(String, Array(String)) | Nil
Function access control, map of access level to function names
-
#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
-
#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
Constructor Detail
Instance Method Detail
Note:: the use of both these functions is temporary
DEPRECATED Use #interface
instead
Functions available on module, map of function name to args
Functions available on module, map of function name to args
Module requirements, map of module name to required interfaces
Module requirements, map of module name to required interfaces
Module requirements, map of module name to required interfaces
Function access control, map of access level to function names
Function access control, map of access level to function names
Function access control, map of access level to function names
JSON Schema derived from the settings used in the driver
JSON Schema derived from the settings used in the driver