Class
FoundryJsonListLlmResource
Constructors
foundry_json_list_llm_resource_new
Createa a new LlmResource that will monitor changes to model and
update the contents of the resource.
unstable since: 1.1
Instance methods
Methods inherited from FoundryLlmResource (7)
foundry_llm_resource_dup_content_type
Gets the content type for the resource.
unstable since: 1.1
foundry_llm_resource_dup_description
Gets the description for the resource.
unstable since: 1.1
foundry_llm_resource_dup_name
Gets the name for the resource.
unstable since: 1.1
foundry_llm_resource_dup_uri
Gets the URI for the resource.
unstable since: 1.1
foundry_llm_resource_emit_changed
Emits the “changed” signal.
unstable since: 1.1
foundry_llm_resource_load_bytes
Loads the bytes for the resource.
unstable since: 1.1
foundry_llm_resource_load_json
If the content_type is “application/json” then the resource may implement this function to provide a JsonNode instead of a serialized byte buffer. This is helpful in situations where the protocol can pass structured information for JSON such as Model Context Protocol.
unstable since: 1.1
Properties
Properties inherited from FoundryLlmResource (4)
Foundry.LlmResource:content-type
The content type of the resource.
Foundry.LlmResource:description
The description of the resource.
Foundry.LlmResource:name
The name of the resource.
Foundry.LlmResource:uri
The URI of the resource.
Signals
Signals inherited from FoundryLlmResource (1)
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.