Basic DBUS Interfaces
This commit is contained in:
parent
149b747dce
commit
515b5f946b
1 changed files with 37 additions and 0 deletions
37
dbus/fr.mrdev023.ai_proxy.xml
Normal file
37
dbus/fr.mrdev023.ai_proxy.xml
Normal file
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
||||
<node>
|
||||
<interface name="fr.mrdev023.AIProxy">
|
||||
<method name="AddProvider">
|
||||
<arg name="Name" direction="in" type="s"/>
|
||||
<arg name="BaseURL" direction="in" type="s"/>
|
||||
<arg name="APIKey" direction="in" type="s"/>
|
||||
<arg name="Provider" direction="out" type="o"/>
|
||||
</method>
|
||||
|
||||
<method name="RemoveProvider">
|
||||
<arg name="Provider" direction="in" type="o"/>
|
||||
</method>
|
||||
|
||||
<method name="GetProviders">
|
||||
<arg name="Providers" direction="out" type="ao"/>
|
||||
</method>
|
||||
|
||||
<method name="GetModels">
|
||||
<arg name="Models" direction="out" type="ao"/>
|
||||
</method>
|
||||
</interface>
|
||||
|
||||
<interface name="fr.mrdev023.AIProxy.Provider">
|
||||
<property name="Name" type="s" access="readwrite"/>
|
||||
<property name="BaseURL" type="s" access="readwrite"/>
|
||||
<property name="APIKey" type="s" access="readwrite"/>
|
||||
</interface>
|
||||
|
||||
<interface name="fr.mrdev023.AIProxy.Model">
|
||||
<property name="Name" type="s" access="read"/>
|
||||
<property name="Provider" type="o" access="read"/>
|
||||
<property name="Loaded" type="b" access="read"/>
|
||||
<property name="HasToolSupport" type="b" access="read"/>
|
||||
</interface>
|
||||
</node>
|
Loading…
Add table
Add a link
Reference in a new issue