build 6ddc7a35 | content blog-content@417154f · 338 posts | profiles 32 · corpus 315 | ● 0 skipped | format run

$ soultec get list/topics/ai -o yaml$ soultec get list/topics/ai -o json$ soultec get list/topics/ai -o toml$ soultec get list/topics/ai -o xml$ python3 topics/ai.pyPS> ./topics/ai.ps1$ go run topics/ai.go$ node topics/ai.js

apiVersion: soultec.ch/v1kind: Listmetadata: name: topics/ai locale: en labels: capability/ai: 5.07 annotations: route: /en/topics/ai/spec: capability: ai corpus: 315 carriers: 2 weight: 5.07 formula: ln(1 + 315 / 2)status: count: 2 items: - {ref: solutions/omnissa/omni} - {ref: solutions/hpe/hpe-private-cloud-ai} search: /en/search.json
{ "apiVersion": "soultec.ch/v1", "kind": "List", "metadata": { "name": "topics/ai", "locale": "en", "labels": { "capability/ai": 5.07 }, "annotations": { "route": "/en/topics/ai/" } }, "spec": { "capability": "ai", "corpus": 315, "carriers": 2, "weight": "5.07", "formula": "ln(1 + 315 / 2)" }, "status": { "count": 2, "items": [ { "ref": "solutions/omnissa/omni" }, { "ref": "solutions/hpe/hpe-private-cloud-ai" } ], "search": "/en/search.json" }}
apiVersion = "soultec.ch/v1"kind = "List"[metadata]name = "topics/ai"locale = "en"[metadata.labels]"capability/ai" = 5.07[metadata.annotations]route = "/en/topics/ai/"[spec]capability = "ai"corpus = 315carriers = 2weight = "5.07"formula = "ln(1 + 315 / 2)"[status]count = 2search = "/en/search.json"[[status.items]]ref = "solutions/omnissa/omni"[[status.items]]ref = "solutions/hpe/hpe-private-cloud-ai"
<?xml version="1.0" encoding="UTF-8"?><manifest kind="List"> <apiVersion>soultec.ch/v1</apiVersion> <metadata> <name>topics/ai</name> <locale>en</locale> <labels> <entry key="capability/ai">5.07</entry> </labels> <annotations> <route>/en/topics/ai/</route> </annotations> </metadata> <spec> <capability>ai</capability> <corpus>315</corpus> <carriers>2</carriers> <weight>5.07</weight> <formula>ln(1 + 315 / 2)</formula> </spec> <status> <count>2</count> <items> <item> <ref>solutions/omnissa/omni</ref> </item> <item> <ref>solutions/hpe/hpe-private-cloud-ai</ref> </item> </items> <search>/en/search.json</search> </status></manifest>
# Code generated by the soultec.ch build. DO NOT EDIT.import jsonPAGE = { "apiVersion": "soultec.ch/v1", "kind": "List", "metadata": { "name": "topics/ai", "locale": "en", "labels": { "capability/ai": 5.07, }, "annotations": { "route": "/en/topics/ai/", }, }, "spec": { "capability": "ai", "corpus": 315, "carriers": 2, "weight": "5.07", "formula": "ln(1 + 315 / 2)", }, "status": { "count": 2, "items": [ { "ref": "solutions/omnissa/omni", }, { "ref": "solutions/hpe/hpe-private-cloud-ai", }, ], "search": "/en/search.json", },}if __name__ == "__main__": print(json.dumps(PAGE, indent=2, ensure_ascii=False))
# Code generated by the soultec.ch build. DO NOT EDIT.$Page = [ordered]@{ apiVersion = 'soultec.ch/v1' kind = 'List' metadata = [ordered]@{ name = 'topics/ai' locale = 'en' labels = [ordered]@{ 'capability/ai' = 5.07 } annotations = [ordered]@{ route = '/en/topics/ai/' } } spec = [ordered]@{ capability = 'ai' corpus = 315 carriers = 2 weight = '5.07' formula = 'ln(1 + 315 / 2)' } status = [ordered]@{ count = 2 items = @( [ordered]@{ ref = 'solutions/omnissa/omni' } [ordered]@{ ref = 'solutions/hpe/hpe-private-cloud-ai' } ) search = '/en/search.json' }}$Page | ConvertTo-Json -Depth 32
// Code generated by the soultec.ch build. DO NOT EDIT.package mainimport ( "encoding/json" "os")var page = map[string]any{ "apiVersion": "soultec.ch/v1", "kind": "List", "metadata": map[string]any{ "name": "topics/ai", "locale": "en", "labels": map[string]any{ "capability/ai": 5.07, }, "annotations": map[string]any{ "route": "/en/topics/ai/", }, }, "spec": map[string]any{ "capability": "ai", "corpus": 315, "carriers": 2, "weight": "5.07", "formula": "ln(1 + 315 / 2)", }, "status": map[string]any{ "count": 2, "items": []any{ map[string]any{ "ref": "solutions/omnissa/omni", }, map[string]any{ "ref": "solutions/hpe/hpe-private-cloud-ai", }, }, "search": "/en/search.json", },}func main() { enc := json.NewEncoder(os.Stdout) enc.SetEscapeHTML(false) enc.SetIndent("", " ") if err := enc.Encode(page); err != nil { os.Exit(1) }}
// Code generated by the soultec.ch build. DO NOT EDIT.const page = { apiVersion: "soultec.ch/v1", kind: "List", metadata: { name: "topics/ai", locale: "en", labels: { "capability/ai": 5.07, }, annotations: { route: "/en/topics/ai/", }, }, spec: { capability: "ai", corpus: 315, carriers: 2, weight: "5.07", formula: "ln(1 + 315 / 2)", }, status: { count: 2, items: [ { ref: "solutions/omnissa/omni", }, { ref: "solutions/hpe/hpe-private-cloud-ai", }, ], search: "/en/search.json", },};console.log(JSON.stringify(page, null, 2));

# 21 lines · YAML · validated at build# 33 lines · JSON · validated at build# 29 lines · TOML · validated at build# 33 lines · XML · validated at build# 39 lines · Python · read back at build, equals the JSON record# 36 lines · PowerShell · read back at build, equals the JSON record# 51 lines · Go · read back at build, equals the JSON record# 36 lines · JavaScript · read back at build, equals the JSON record

Topic

AI

Everything that carries this topic: 2 solutions. The weight 5.07 is ln(1 + 315 / 2): 2 of 315 entries in the corpus carry it, and the rarer a topic, the more it says when two pages share it.

Solutions2

Omnissa 0.67

Omni AI assistant

Page to follow
HPE 0.66

HPE Private Cloud AI