Import from Ossie
import_from_ossieImports Apache Ossie (OSI) model descriptions, synonyms, metrics, and relationships into Tableau Knowledge semantic contexts; previews a plan by default and writes only when apply is true.
Instructions
Bring the business meaning of an Apache Ossie (formerly OSI) model into Tableau Knowledge
as semantic contexts. WRITES only when apply is true; by default it returns the PLAN.
`document` is the model as YAML or JSON text. Elements are matched to nodes of one published
data source: models exported by export_to_ossie map back by their stored ids; other models
need `target_datasource_id` (an exact PDS id from list_sources) and match by name. Each matched
node gets one context named `ossie:<model>` holding its description, ai_context instructions,
synonyms ("Also known as: ..."), example questions, metric definition (`include_definitions`)
and relationships. Re-importing updates those contexts instead of duplicating them.
`scope`: "auto" (default) attaches contexts to nodes and, on sites that accept only graph-wide
context through the API (error node_semantic_context_disabled), writes the plan's
`global_fallback` instead: one global `ossie:<model>` context whose statements are prefixed
with what they describe. "node" never falls back; "global" plans the global context directly.
Workflow: call without `apply`, show the user the operations (create/update/unchanged) and
`unmatched` list, then call again with `apply=true` once they agree. Needs the Creator role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| scope | No | auto | |
| document | Yes | ||
| graph_id | No | ||
| model_name | No | ||
| include_definitions | No | ||
| target_datasource_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||