Sigillum Finansdevelopers
Sigillum.cloud ↗TR
Data and observations

AI observation examples

Language-specific examples for each supported additional AI observation category.

#Choose the relevant category

The JSON fields below are example business data, not a mandatory universal model schema. Send only information actually available at the step and necessary for your purpose. Not every service needs every category. Do not place synthetic example values in a production trace as if they were observed.

Python snippets assume an existing step, .NET snippets an observer and Java snippets an sdk with active context. See the language guides for lifecycle and scope.

Within an active step · example fields
from sigillum_finans import JsonData

# Illustrative values only; record your actual application data.
step.observe("ai", "model",
    JsonData.raw('{"name":"demo-risk-model","version":"1","framework":"demonstration"}'))

step.observe("ai", "classification",
    JsonData.raw('{"label":"review","score":0.81}'))

step.observe("ai", "retrieval",
    JsonData.raw('{"query":"Payment limit","documents":[{"id":"POL-1","text":"Review threshold: 10000."}]}'))

step.observe("ai", "tool",
    JsonData.raw('{"name":"threshold.lookup","input":{"currency":"TRY"},"output":{"threshold":10000}}'))

step.observe("ai", "embedding",
    JsonData.raw('{"model":"illustrative-3d","dimensions":3,"vector":[0.2,0.5,0.1]}'))

step.observe("ai", "inference",
    JsonData.raw('{"model":"demo-risk-model","input":{"amount":12500},"output":{"reviewRequired":true}}'))

step.observe("ai", "evaluation",
    JsonData.raw('{"metric":"demo-consistency","value":1}'))

step.observe("ai", "policy",
    JsonData.raw('{"name":"amount-threshold","version":"1","threshold":10000,"matched":true}'))

step.observe("ai", "explanation",
    JsonData.raw('{"method":"explicit-rule","reason":"The amount exceeds the example review threshold."}'))
Use the configuration supplied by your institution’s portal.

#Inputs, outputs and original content

Use ObserveAiAsync, call_ai / call_ai_async and the Java AI call interfaces around the actual operation. When original bytes already exist, supply them through the attachment contract. Source/source represents institutional source material; Custom/custom represents additional business information. The source attachment example combines content and metadata.

#Business fields and observation identity

A transaction_id or service_id inside a payload cannot change the SDK-authorised identity. Sigillum manages observation relationships, seals and signatures. Add source-system business identities through the optional reference interface.

Sigillum Finans · Source-matched product reference

Search documentation

Search titles and content by entering a topic.

↑ ↓ select · Enter open · Esc closeBrowser-local search