docs: simplify anonymized examples
Use clean generic names instead of repeated redaction placeholders.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -22,20 +22,20 @@ cortex_policies:
|
||||
|
||||
# Access control: Who can query this semantic model
|
||||
access_control:
|
||||
default_role: "[REDACTED: SNOWFLAKE_ROLE]"
|
||||
default_role: "quotation_analytics_user"
|
||||
authorized_teams:
|
||||
- name: "sales_team"
|
||||
snowflake_role: "[REDACTED: SALES_ROLE]"
|
||||
snowflake_role: "quotation_sales_user"
|
||||
tables: ["sv_quotation", "sv_chatbot_quotation"]
|
||||
max_rows_returned: 100000
|
||||
|
||||
- name: "operations_team"
|
||||
snowflake_role: "[REDACTED: OPS_ROLE]"
|
||||
snowflake_role: "quotation_operations_user"
|
||||
tables: ["sv_quotation", "sv_chatbot_quotation"]
|
||||
max_rows_returned: 500000
|
||||
|
||||
- name: "cortex_agent"
|
||||
snowflake_role: "[REDACTED: CORTEX_AGENT_ROLE]"
|
||||
snowflake_role: "quotation_cortex_agent"
|
||||
tables: ["sv_chatbot_quotation"]
|
||||
max_rows_returned: 1000
|
||||
allowed_functions: ["semantic_search", "similarity_score"]
|
||||
@@ -59,7 +59,7 @@ cortex_policies:
|
||||
description: "Mask actual customer names in chatbot responses"
|
||||
pattern: "customer_name|cliente_nome"
|
||||
action: "mask_value"
|
||||
replacement: "[REDACTED: Customer Information]"
|
||||
replacement: "[Customer information protected]"
|
||||
exception: "Sales team in authorized_teams can see unmasked values"
|
||||
|
||||
- rule: "pii_scrubbing"
|
||||
@@ -97,7 +97,7 @@ cortex_policies:
|
||||
|
||||
# Cost controls: Prevent runaway LLM usage
|
||||
cost_controls:
|
||||
monthly_budget_usd: "[REDACTED: BUDGET]"
|
||||
monthly_budget_usd: "configured in the deployment environment"
|
||||
alert_threshold_pct: 80
|
||||
per_query_max_tokens: 2000
|
||||
max_concurrent_queries: 10
|
||||
@@ -121,9 +121,9 @@ semantic_model_lineage:
|
||||
description: "How quotation data flows through transformations"
|
||||
stages:
|
||||
1_source:
|
||||
system: "[REDACTED: SAP_SYSTEM]"
|
||||
system: "enterprise_erp_source"
|
||||
frequency: "Daily batch 05:00 UTC"
|
||||
tables: ["[REDACTED: SOURCE_QUOTE_TABLE]", "[REDACTED: SOURCE_DISCOUNT_TABLE]"]
|
||||
tables: ["source_quotes", "source_discount_conditions"]
|
||||
|
||||
2_staging:
|
||||
schema: "STAGING"
|
||||
@@ -142,8 +142,8 @@ semantic_model_lineage:
|
||||
|
||||
5_cortex_consumption:
|
||||
interface_1: "Snowflake Native App (BI)"
|
||||
interface_2: "[REDACTED: SIEMENS_WORKSPACE]"
|
||||
llm_model: "[REDACTED: LLM_VERSION]"
|
||||
interface_2: "internal_chatbot_workspace"
|
||||
llm_model: "managed_cortex_model"
|
||||
prompt_template: |
|
||||
You are a sales support assistant. Answer quote questions using only
|
||||
the data provided. If discount exceeds policy, flag for human review.
|
||||
|
||||
Reference in New Issue
Block a user