dbxapp 4.5.3
Technische API-Referenz der dbxapp-Plattform
Lade ...
Suche ...
Keine Treffer
dbx\dbxKi\dbxKiContractService Klassenreferenz

Verbindlicher Auftrag-/Antwortvertrag für alle dbxKi-Pipelines. Mehr ...

Öffentliche Methoden

 create (string $area, string $recipe, array $metadata, array $job_template, array $outputs, array $assets=array(), array $snapshot=array())
 verify (array $contract)
 bind (array $contract, array $answer, string $assets_dir='')
 assert_not_consumed (array $contract)
 consume (array $contract)
 answer_template (array $contract)
 fingerprint (array $value)
 hash (array $contract)

Öffentliche Attribute

const VERSION = '2.0'

Ausführliche Beschreibung

Verbindlicher Auftrag-/Antwortvertrag für alle dbxKi-Pipelines.

Die KI darf nur die explizit deklarierten Outputs und Assets liefern. Ausführbare Aktionen und feste Zielparameter bleiben Bestandteil des signierten Auftrags und werden beim Import von dbxKi rekonstruiert.

Dokumentation der Elementfunktionen

◆ answer_template()

dbx\dbxKi\dbxKiContractService::answer_template ( array $contract)

Benutzt verify().

◆ assert_not_consumed()

dbx\dbxKi\dbxKiContractService::assert_not_consumed ( array $contract)

Benutzt $id und dbx\dbxKi\dbxKiSessionState\has().

Wird benutzt von bind().

◆ bind()

dbx\dbxKi\dbxKiContractService::bind ( array $contract,
array $answer,
string $assets_dir = '' )

◆ consume()

dbx\dbxKi\dbxKiContractService::consume ( array $contract)

◆ create()

dbx\dbxKi\dbxKiContractService::create ( string $area,
string $recipe,
array $metadata,
array $job_template,
array $outputs,
array $assets = array(),
array $snapshot = array() )

Benutzt VERSION.

◆ fingerprint()

dbx\dbxKi\dbxKiContractService::fingerprint ( array $value)

Benutzt hash().

◆ hash()

dbx\dbxKi\dbxKiContractService::hash ( array $contract)

Benutzt hash().

Wird benutzt von fingerprint() und hash().

◆ verify()

dbx\dbxKi\dbxKiContractService::verify ( array $contract)

Benutzt foreach.

Wird benutzt von answer_template(), bind() und consume().

Dokumentation der Datenelemente

◆ VERSION

const dbx\dbxKi\dbxKiContractService::VERSION = '2.0'

Wird benutzt von create().


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: