bigquery-agent-analytics 0.3.3__tar.gz → 0.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/.github/workflows/release.yml +3 -3
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/CHANGELOG.md +43 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/PKG-INFO +1 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/blog/periodic_materialization.md +3 -3
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/codelabs/periodic_materialization.md +10 -10
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/guides/conversational-analytics-first.md +7 -5
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/guides/scheduled-context-graph-deploy.md +66 -47
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/codelab/periodic_materialization/README.md +5 -5
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/codelab/periodic_materialization/colab_notebook.ipynb +9 -9
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/README.md +17 -12
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/periodic_materialization/README.md +26 -22
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/periodic_materialization/deploy_cloud_run_job.sh +52 -15
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/periodic_materialization/run_job.py +79 -22
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/periodic_materialization/terraform/README.md +17 -15
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/periodic_materialization/terraform/main.tf +20 -5
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/periodic_materialization/terraform/terraform.tfvars.example +6 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/periodic_materialization/terraform/variables.tf +7 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/pyproject.toml +1 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/cli.py +33 -13
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/materialize_window.py +101 -17
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/property_graph_spec.py +111 -1
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_cli_context_graph_input_modes.py +17 -3
- bigquery_agent_analytics-0.3.4/tests/test_deploy_graph_mode.py +175 -0
- bigquery_agent_analytics-0.3.4/tests/test_property_graph_spec.py +558 -0
- bigquery_agent_analytics-0.3.3/tests/test_property_graph_spec.py +0 -283
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/.claude-plugin/marketplace.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/.github/workflows/ci.yml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/.github/workflows/producers-ci.yml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/.github/workflows/release-tracing.yml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/.gitignore +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/CODE_OF_CONDUCT.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/CONTRIBUTING.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/LICENSE +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/SDK.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/SECURITY.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/autoformat.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/dashboard/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/dashboard/agent_analytics_dashboard.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/dashboard/app.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/dashboard/requirements.txt +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/continuous_queries/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/continuous_queries/bigtable_dashboard.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/continuous_queries/pubsub_alerting.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/continuous_queries/realtime_error_analysis.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/continuous_queries/session_scoring.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/continuous_queries/setup_reservation.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/python_udf/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/python_udf/register.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/remote_function/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/remote_function/deploy.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/remote_function/dispatch.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/remote_function/main.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/remote_function/register.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/streaming_evaluation/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/streaming_evaluation/main.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/streaming_evaluation/requirements.txt +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/streaming_evaluation/setup.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/streaming_evaluation/trigger_query.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/deploy/streaming_evaluation/worker.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/blog/images/ca-conversation.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/blog/images/context-graph-flow.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/blog/images/graph-visualization.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/codelabs/images/Gemini_Generated_Image_2qdbtg2qdbtg2qdb.jpeg +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/codelabs/images/ca-conversation.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/codelabs/images/context-graph-flow.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/codelabs/images/graph-visualization.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/context_graph_v2_design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/context_graph_v3_design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/entity_resolution_primitives.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_bka_measurement.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_bq_bundle_mirror.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_bundle_loader.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_diagnostics.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_orchestrator_swap.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_plan_parser.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_plan_resolver.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_retry_loop.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_revalidate_cli.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_revalidation.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_rollout_guide.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_runtime_fallback.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_runtime_registry.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_runtime_target.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_scaffolding.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/extractor_compilation_template_renderer.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/guides/images/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/guides/images/ca-committed-outcomes.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/hatteras_evaluation.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/implementation_plan_concept_index_runtime.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/implementation_plan_remote_function.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/learning_ontology_and_context_graph.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology/binding-validation.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology/binding.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology/cli.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology/compilation.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology/concept-index.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology/ontology-build.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology/ontology.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology/owl-import.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology/scaffold.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology/validation.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology_graph_v4_design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology_graph_v5_design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/ontology_runtime_reader.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/prd_unified_analytics_interface.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/proposal_bigquery_agent_cli.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/python_udf_support_design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/remote_function_rationale.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/sdk_usage_tracking.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/superpowers/plans/2026-05-28-bqaa-seed-events.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/superpowers/plans/2026-05-29-decision-realistic-scenario.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/superpowers/specs/2026-05-28-bqaa-seed-events-design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/docs/superpowers/specs/2026-05-29-decision-realistic-scenario-design.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/_archive/context_graph_historical_notebook.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/.gitignore +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/A2A_JOINT_LINEAGE.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/BQ_STUDIO_WALKTHROUGH.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/DATA_LINEAGE.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/DEMO_NARRATION.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/analyst_agent/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/analyst_agent/agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/analyst_agent/prompts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/analyst_agent/tools.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/bq_studio_queries.gql.tpl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/build_joint_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/build_org_graphs.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/caller_agent/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/caller_agent/agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/caller_agent/prompts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/caller_agent/tools.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/campaigns.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/joint_property_graph.gql.tpl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/receiver_agent/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/receiver_agent/agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/receiver_agent/prompts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/render_queries.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/reset.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/run_analyst_agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/run_caller_agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/run_e2e_demo.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/run_receiver_server.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/setup.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/a2a_joint_lineage_demo/smoke_receiver.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/DEMO_NARRATION.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/agent/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/agent/agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/agent/prompts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/agent/tools.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/agent_improvement/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/agent_improvement/config.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/agent_improvement/config_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/agent_improvement/eval_runner.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/agent_improvement/improver_agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/agent_improvement/prompt_adapter.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/agent_improvement/prompts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/agent_improvement/tool_introspection.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/config.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/demo.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/eval/eval_cases.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/eval/generate_traffic.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/eval/operational_metrics.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/eval/run_eval.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/overview.png +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/reset.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/run_cycle.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/run_improvement.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/setup.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/setup_vertex.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/agent_improvement_cycle/show_prompt.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/ai_classify_side_by_side.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/ai_forecast_side_by_side.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/ai_ml_integration_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/ai_similarity_validation.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/categorical_dashboard.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/categorical_evaluation_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/ci/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/ci/evaluate_thresholds.yml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/ci_eval_pipeline.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/cli_agent_tool.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/codelab/periodic_materialization/binding.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/codelab/periodic_materialization/ontology.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/codelab/periodic_materialization/property_graph.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/codelab/periodic_materialization/seed_events.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/codelab/periodic_materialization/table_ddl.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/.gitignore +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/binding.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/example_ontologies/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/example_ontologies/simple_request_flow.ttl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/example_ontologies/simple_request_flow_config.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/export_events_jsonl.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/mako_artifacts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/mako_core.ttl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/mako_demo_agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/ontology.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/ontology_artifacts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/periodic_materialization/build_image.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/periodic_materialization/requirements.txt +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/periodic_materialization/terraform/.gitignore +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/periodic_materialization/terraform/outputs.tf +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/periodic_materialization/terraform/versions.tf +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/property_graph.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/reference_extractor.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/revalidation_thresholds.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/run_agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph/table_ddl.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/context_graph_adcp_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/continuous_query_alerting.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/dashboard_v2.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/dashboard_v2_bigframes.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/.gitignore +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/BQ_STUDIO_WALKTHROUGH.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/DATA_LINEAGE.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/DEMO_NARRATION.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/DEMO_QUESTIONS.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/SETUP_NEW_PROJECT.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/SLIDES.html +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/SLIDES.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/SLIDES.pptx +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/agent/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/agent/agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/agent/prompts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/agent/tools.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/bq_studio_queries.gql.tpl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/build_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/build_rich_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/campaigns.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/property_graph.gql.tpl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/render_queries.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/reset.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/rich_property_graph.gql.tpl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/run_agent.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/decision_lineage_demo/setup.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/e2e_demo.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/e2e_demo_output.txt +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/e2e_notebook_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/event_semantics_views_bigframes_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/memory_service_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/nba_agent_trace_analysis_notebook.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/ontology_graph_v4_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/ontology_graph_v5_demo.ipynb +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/python_udf_eval_summary.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/python_udf_evaluation.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/python_udf_event_semantics.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/remote_function_dashboard.sql +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/examples/ymgo_graph_spec.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/.claude-plugin/plugin.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/.gitignore +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/MARKETPLACE.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/commands/bqaa-setup.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/hooks/common.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/hooks/notification.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/hooks/permission_request.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/hooks/post_tool_use.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/hooks/pre_tool_use.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/hooks/session_end.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/hooks/session_start.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/hooks/stop.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/hooks/subagent_stop.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/hooks/user_prompt_submit.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code/scripts/run_setup_check.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/.claude-plugin/plugin.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/MARKETPLACE.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/commands/bqaa-setup.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/common.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/notification.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/permission_request.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/post_tool_use.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/pre_tool_use.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/session_end.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/session_start.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/stop.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/subagent_stop.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/hooks/user_prompt_submit.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/scripts/run_setup_check.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/_utils.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/_writer_identity.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/claude_code.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/config.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/drain.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/logger.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/schema.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing/setup_check.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/plugins/claude_code_dist/bigquery-agent-analytics-tracing/vendor/bigquery_agent_analytics_tracing-0.1.0.dist-info/METADATA +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/RELEASING.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/pyproject.toml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/scripts/build_claude_plugin.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/src/bigquery_agent_analytics_tracing/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/src/bigquery_agent_analytics_tracing/_utils.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/src/bigquery_agent_analytics_tracing/_writer_identity.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/src/bigquery_agent_analytics_tracing/claude_code.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/src/bigquery_agent_analytics_tracing/config.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/src/bigquery_agent_analytics_tracing/drain.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/src/bigquery_agent_analytics_tracing/logger.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/src/bigquery_agent_analytics_tracing/schema.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/src/bigquery_agent_analytics_tracing/setup_check.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/tests/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/tests/test_build_claude_plugin.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/tests/test_claude_code.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/tests/test_config.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/tests/test_drain.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/tests/test_logger_row_shape.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/tests/test_schema.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/producers/tests/test_setup_check.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/scripts/README.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/scripts/generate_colab_from_codelab.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/scripts/latency_report.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/scripts/latency_report.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/scripts/quality_report.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/scripts/quality_report.sh +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/scripts/sample_latency_report.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/scripts/sample_quality_report.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/_deploy_runtime.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/_ontology_routing.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/_streaming_evaluation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/_telemetry.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/ai_ml_integration.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/bigframes_evaluator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/binding_validation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/categorical_evaluator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/categorical_views.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/client.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/context_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/eval_suite.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/eval_validator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/evaluators.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/event_semantics.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extracted_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/ast_validator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/bq_bundle_mirror.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/bundle_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/cli_revalidate.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/compiler.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/diagnostics.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/fingerprint.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/manifest.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/measurement.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/plan_parser.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/plan_resolver.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/retry_loop.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/revalidation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/runtime_fallback.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/runtime_registry.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/smoke_test.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/subprocess_runner.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/extractor_compilation/template_renderer.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/feedback.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/formatter.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/grader_pipeline.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/graph_validation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/insights.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/memory_service.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/multi_trial.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/ontology_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/ontology_materializer.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/ontology_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/ontology_orchestrator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/ontology_property_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/ontology_runtime.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/ontology_schema_compiler.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/resolved_spec.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/runtime_spec.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/seed_events.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/serialization.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/structured_extraction.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/trace.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/trace_evaluator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/ttl_importer.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/udf_kernels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/udf_sql_templates.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_agent_analytics/views.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/_fingerprint.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/binding_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/binding_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/cli.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/concept_index.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/docs/user_manual.md +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/graph_ddl_compiler.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/graph_ddl_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/graph_ddl_parser.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/graph_schema_join.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/graph_to_spec.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/ontology_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/ontology_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/owl_importer.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/src/bigquery_ontology/scaffold.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/bigquery_ontology/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/bigquery_ontology/test_binding_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/bigquery_ontology/test_binding_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/bigquery_ontology/test_cli.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/bigquery_ontology/test_compile_concept_index.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/bigquery_ontology/test_concept_index.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/bigquery_ontology/test_fingerprint.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/bigquery_ontology/test_graph_ddl_compiler.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/bigquery_ontology/test_ontology_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/bigquery_ontology/test_owl_importer.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/bigquery_ontology/test_scaffold.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/bigquery_ontology/test_scaffold_cli.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures/lineage_sessions.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures/mixed_events.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures/mixed_owl_skos.ttl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures/skos_taxonomy.ttl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures/test_binding.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures/test_combined_spec.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures/test_ontology.yaml +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures/yamo_sample.ttl +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures_extractor_compilation/__init__.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures_extractor_compilation/bka_decision_inputs.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures_extractor_compilation/bka_decision_measurement_report.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures_extractor_compilation/bka_decision_template.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/fixtures_extractor_compilation/plan_bka_decision.json +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_abstract_adapter_filter.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ai_generate_judge_live.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ai_ml_integration.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ai_ml_integration_labels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_bigframes_evaluator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_binding_explicit_fk_mapping.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_binding_validation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_bridge_hardening.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_categorical_evaluator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_categorical_views.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_cli.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_cli_bqaa_app.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_client_labels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_codelab_embedded_artifacts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_context_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_context_graph_labels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_context_graph_ontology_artifacts.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_context_graph_reference_extractor.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_deploy_property_graph_mode.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_dual_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_eval_suite.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_eval_validator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_event_semantics.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extract_graph_diagnostics_modes.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extracted_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_bka_compile_live.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_bq_bundle_mirror.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_bq_bundle_mirror_live.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_bundle_loader.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_cli_revalidate.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_cli_revalidate_bq_live.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_diagnostics.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_measurement.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_plan_parser.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_plan_resolver.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_retry_loop.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_revalidation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_runtime_fallback.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_runtime_registry.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_extractor_compilation_template.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_feedback_labels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_formatter.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_generate_colab_asides.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_generate_colab_images.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_grader_pipeline.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_graph_ddl_parser.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_graph_schema_join.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_graph_to_spec.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_graph_validation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_integration_ontology_binding.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_latency_report_helpers.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_materialize_window.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_materialize_window_live.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_memory_service.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_memory_service_labels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_multi_trial.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ontology_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ontology_graph_from_bundles_root.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ontology_labels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ontology_materializer.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ontology_models.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ontology_orchestrator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ontology_property_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ontology_runtime.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ontology_runtime_live.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_ontology_schema_compiler.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_owl_import_bridge.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_pr16_fixes.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_pr17_fixes.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_pr19_fixes.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_quality_report_helpers.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_remote_function.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_resolved_spec.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_run_job_property_graph.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_runtime_factory.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_runtime_spec.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_sdk_client.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_sdk_evaluators.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_sdk_feedback.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_sdk_insights.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_sdk_trace.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_seed_events.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_seed_events_wrapper.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_serialization.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_streaming_evaluation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_surface_tags.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_telemetry.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_terraform_property_graph_mode.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_trace_evaluator.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_trace_filter_factory.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_udf_kernels.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_udf_sql_generation.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_v5_golden.py +0 -0
- {bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/tests/test_views.py +0 -0
{bigquery_agent_analytics-0.3.3 → bigquery_agent_analytics-0.3.4}/.github/workflows/release.yml
RENAMED
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
build:
|
|
32
32
|
name: Build package
|
|
33
33
|
if: startsWith(github.event.release.tag_name, 'v')
|
|
34
|
-
runs-on: ubuntu-
|
|
34
|
+
runs-on: ubuntu-22.04
|
|
35
35
|
steps:
|
|
36
36
|
- uses: actions/checkout@v4
|
|
37
37
|
|
|
@@ -64,7 +64,7 @@ jobs:
|
|
|
64
64
|
publish-pypi:
|
|
65
65
|
name: Publish to PyPI
|
|
66
66
|
needs: build
|
|
67
|
-
runs-on: ubuntu-
|
|
67
|
+
runs-on: ubuntu-22.04
|
|
68
68
|
environment: pypi
|
|
69
69
|
permissions:
|
|
70
70
|
id-token: write
|
|
@@ -80,7 +80,7 @@ jobs:
|
|
|
80
80
|
publish-testpypi:
|
|
81
81
|
name: Publish to TestPyPI
|
|
82
82
|
needs: build
|
|
83
|
-
runs-on: ubuntu-
|
|
83
|
+
runs-on: ubuntu-22.04
|
|
84
84
|
environment: testpypi
|
|
85
85
|
permissions:
|
|
86
86
|
id-token: write
|
|
@@ -7,6 +7,49 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.3.4] - 2026-06-10
|
|
11
|
+
|
|
12
|
+
### Release highlights
|
|
13
|
+
|
|
14
|
+
Consume the graph you already deployed. `bqaa context-graph --graph <name>`
|
|
15
|
+
reads your property graph's definition back from BigQuery's
|
|
16
|
+
`INFORMATION_SCHEMA.PROPERTY_GRAPHS` and derives the ontology + binding from
|
|
17
|
+
it plus the live table schemas — no SQL file is passed to (or staged for) the
|
|
18
|
+
materializer. You deploy the graph with standard `bq` DDL once; from then on
|
|
19
|
+
the deployed graph is the single source of truth, so what you query with GQL
|
|
20
|
+
and what gets materialized can never drift apart. The docs (codelab, blog,
|
|
21
|
+
scheduled-deploy runbook, guides) now teach this flow exclusively.
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- **Deployed-graph (`--graph`) materialization mode** — point the
|
|
26
|
+
materializer at a property graph that already exists in BigQuery instead of
|
|
27
|
+
a local DDL file. Available on every surface: `bqaa context-graph --graph`
|
|
28
|
+
(CLI; accepts a bare name resolved in `--dataset-id`, or qualified
|
|
29
|
+
`dataset.graph` / `project.dataset.graph`),
|
|
30
|
+
`run_materialize_window(graph=...)` (Python API), `BQAA_GRAPH` (scheduled
|
|
31
|
+
`run_job.py`), `deploy_cloud_run_job.sh --graph`, and the Terraform
|
|
32
|
+
module's `graph` variable. The SDK fetches the normalized `CREATE PROPERTY
|
|
33
|
+
GRAPH` statement from the dataset-qualified
|
|
34
|
+
`INFORMATION_SCHEMA.PROPERTY_GRAPHS` view and feeds the existing
|
|
35
|
+
schema-derive pipeline; a missing graph fails with an error that lists the
|
|
36
|
+
graphs the dataset does contain. In deployed-graph deploys nothing is
|
|
37
|
+
staged into the image and the entity-table bootstrap is skipped (the
|
|
38
|
+
graph's existence proves its node/edge tables exist). Mutually exclusive
|
|
39
|
+
with `--property-graph` and `--ontology`/`--binding`; incompatible with
|
|
40
|
+
`--extraction-mode=compiled-only` (no reference extractors are staged in
|
|
41
|
+
derived mode).
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- **Docs teach only the deployed-graph flow.** The codelab (+ regenerated
|
|
46
|
+
Colab notebook), blog post, scheduled Context Graph deploy runbook, the
|
|
47
|
+
Conversational Analytics-first guide, and the example READMEs now apply the
|
|
48
|
+
table DDL + `CREATE PROPERTY GRAPH` to BigQuery as the one-time deploy step
|
|
49
|
+
and materialize with `--graph` / `BQAA_GRAPH` / `graph =`. The file-based
|
|
50
|
+
`--property-graph` mode from 0.3.3 keeps working for existing scripts and
|
|
51
|
+
images but is no longer documented; prefer `--graph`.
|
|
52
|
+
|
|
10
53
|
## [0.3.3] - 2026-06-08
|
|
11
54
|
|
|
12
55
|
### Release highlights
|
|
@@ -67,7 +67,7 @@ bqaa seed-events \
|
|
|
67
67
|
|
|
68
68
|
### Step 2: Define the context graph
|
|
69
69
|
|
|
70
|
-
Declare the graph shape once, in standard SQL. This models the decision flow: requests, the options each request weighed, the committed outcome, and the edges that connect them.
|
|
70
|
+
Declare the graph shape once, in standard SQL, and run it in BigQuery. This models the decision flow: requests, the options each request weighed, the committed outcome, and the edges that connect them. The deployed graph becomes the single source of truth — the materializer in the next step reads this definition back from BigQuery's `INFORMATION_SCHEMA.PROPERTY_GRAPHS`.
|
|
71
71
|
|
|
72
72
|
```sql
|
|
73
73
|
CREATE OR REPLACE PROPERTY GRAPH agent_analytics.agent_decisions_graph
|
|
@@ -98,12 +98,12 @@ CREATE OR REPLACE PROPERTY GRAPH agent_analytics.agent_decisions_graph
|
|
|
98
98
|
|
|
99
99
|
### Step 3: Extract context graph from agent traces
|
|
100
100
|
|
|
101
|
-
A single command reads the raw `agent_events` and populates the graph tables. It derives what to extract directly from the
|
|
101
|
+
A single command reads the raw `agent_events` and populates the graph tables. It derives what to extract directly from the graph you deployed in Step 2: `bqaa context-graph` reads the `CREATE PROPERTY GRAPH` definition back from `INFORMATION_SCHEMA.PROPERTY_GRAPHS` along with the schemas of the tables it references, so the property-graph schema is the only thing you author — no SQL file handed to the materializer, no separate ontology or binding file. For local development, run the materializer once:
|
|
102
102
|
|
|
103
103
|
```bash
|
|
104
104
|
bqaa context-graph \
|
|
105
105
|
--project-id "$PROJECT_ID" --dataset-id "$DATASET" \
|
|
106
|
-
--
|
|
106
|
+
--graph agent_decisions_graph \
|
|
107
107
|
--lookback-hours 24
|
|
108
108
|
```
|
|
109
109
|
|
|
@@ -188,7 +188,7 @@ Duration: 02:00
|
|
|
188
188
|
|
|
189
189
|
The codelab needs just two ready-to-use artifacts: the **table DDL** (the physical graph tables) and the **property-graph schema** (`CREATE PROPERTY GRAPH`). You do not author either yourself; the codelab uses them as-is, and the [README in the artifacts folder](https://github.com/GoogleCloudPlatform/BigQuery-Agent-Analytics-SDK/blob/main/examples/codelab/periodic_materialization/README.md) explains how to adapt them for your own decision domain.
|
|
190
190
|
|
|
191
|
-
The property-graph schema is the single source of truth for *what* the graph contains. `bqaa context-graph` reads
|
|
191
|
+
The property-graph schema is the single source of truth for *what* the graph contains. You apply it to BigQuery once; from then on the **deployed graph itself is the contract**: `bqaa context-graph` reads the graph's definition back from BigQuery's `INFORMATION_SCHEMA.PROPERTY_GRAPHS` (plus your table schemas) to figure out which entities and relationships to extract and where to write them — so you do **not** need to write a separate ontology or binding file, and no SQL file is ever passed to the materializer.
|
|
192
192
|
|
|
193
193
|
This codelab is self-contained: the cell below writes the two artifacts into a working directory, so there is nothing to download. They are the same files shipped in [`examples/codelab/periodic_materialization/`](https://github.com/GoogleCloudPlatform/BigQuery-Agent-Analytics-SDK/tree/main/examples/codelab/periodic_materialization).
|
|
194
194
|
|
|
@@ -299,7 +299,7 @@ DecisionRequest --[evaluatesOption]--> DecisionOption
|
|
|
299
299
|
`DecisionRequest` is the question the agent received. `DecisionOption` is one alternative the agent considered. `DecisionOutcome` records the committed choice and the rationale.
|
|
300
300
|
|
|
301
301
|
> aside positive
|
|
302
|
-
> **Advanced: bring your own ontology + binding.** Schema-derived mode covers the common case. When you need finer control — human-readable descriptions to steer the AI extraction prompt, entity inheritance, derived (computed) properties, or column renames — author an explicit `ontology.yaml` + `binding.yaml` and pass `--ontology`/`--binding` instead of `--
|
|
302
|
+
> **Advanced: bring your own ontology + binding.** Schema-derived mode covers the common case. When you need finer control — human-readable descriptions to steer the AI extraction prompt, entity inheritance, derived (computed) properties, or column renames — author an explicit `ontology.yaml` + `binding.yaml` and pass `--ontology`/`--binding` instead of `--graph`. The [artifacts folder](https://github.com/GoogleCloudPlatform/BigQuery-Agent-Analytics-SDK/tree/main/examples/codelab/periodic_materialization) ships both files as a starting point.
|
|
303
303
|
|
|
304
304
|
## Apply the property graph schema
|
|
305
305
|
|
|
@@ -316,7 +316,7 @@ envsubst < property_graph.sql | bq query --use_legacy_sql=false
|
|
|
316
316
|
|
|
317
317
|
You should see five `CREATE TABLE` results and one `CREATE PROPERTY GRAPH` result. The DDL is idempotent; you can re-run it safely.
|
|
318
318
|
|
|
319
|
-
That is the only schema work you do.
|
|
319
|
+
That is the only schema work you do — and the only time the SQL files are used. BigQuery now records your graph's definition, and `bqaa context-graph` reads it back from `INFORMATION_SCHEMA.PROPERTY_GRAPHS` by name, so there is no separate binding file to render and no SQL file to pass to the materializer. What you query with GQL and what gets materialized can never drift apart: they are the same deployed graph.
|
|
320
320
|
|
|
321
321
|
## Generate sample agent events
|
|
322
322
|
|
|
@@ -406,7 +406,7 @@ The 10 orphaned sessions never emitted `AGENT_COMPLETED`, so the default `bqaa c
|
|
|
406
406
|
|
|
407
407
|
Duration: 05:00
|
|
408
408
|
|
|
409
|
-
`bqaa context-graph` reads the raw `agent_events`, then **derives what to extract directly from your
|
|
409
|
+
`bqaa context-graph` reads the raw `agent_events`, then **derives what to extract directly from your deployed graph**: it reads the `CREATE PROPERTY GRAPH` definition you applied in *Apply the property graph schema* back from BigQuery's `INFORMATION_SCHEMA.PROPERTY_GRAPHS`, joins it with the schemas of the tables it references, works out the entities, relationships, and column types, and populates the graph tables. Point it at the deployed graph by name with `--graph` — no SQL file, no separate ontology or binding file.
|
|
410
410
|
|
|
411
411
|
**Run the materializer** locally:
|
|
412
412
|
|
|
@@ -415,7 +415,7 @@ Duration: 05:00
|
|
|
415
415
|
bqaa context-graph \
|
|
416
416
|
--project-id "$PROJECT_ID" \
|
|
417
417
|
--dataset-id "$DATASET" \
|
|
418
|
-
--
|
|
418
|
+
--graph agent_decisions_graph \
|
|
419
419
|
--lookback-hours 24 \
|
|
420
420
|
--format json
|
|
421
421
|
```
|
|
@@ -577,7 +577,7 @@ TO=$(date -u -d "8 hours ago" +"%Y-%m-%dT%H:%M:%SZ" 2>/dev/null \
|
|
|
577
577
|
bqaa context-graph \
|
|
578
578
|
--project-id "$PROJECT_ID" \
|
|
579
579
|
--dataset-id "$DATASET" \
|
|
580
|
-
--
|
|
580
|
+
--graph agent_decisions_graph \
|
|
581
581
|
--lookback-hours 1 \
|
|
582
582
|
--backfill --from "$FROM" --to "$TO" \
|
|
583
583
|
--state-key-suffix codelab_backfill_demo \
|
|
@@ -592,10 +592,10 @@ os.environ["TO"] = (now - datetime.timedelta(hours=8)).strftime("%Y-%m-%dT%H:%
|
|
|
592
592
|
print(f"Backfill window FROM = {os.environ['FROM']}")
|
|
593
593
|
print(f"Backfill window TO = {os.environ['TO']}")
|
|
594
594
|
|
|
595
|
-
!
|
|
595
|
+
!bqaa context-graph \
|
|
596
596
|
--project-id "$PROJECT_ID" \
|
|
597
597
|
--dataset-id "$DATASET" \
|
|
598
|
-
--
|
|
598
|
+
--graph agent_decisions_graph \
|
|
599
599
|
--lookback-hours 1 \
|
|
600
600
|
--backfill --from "$FROM" --to "$TO" \
|
|
601
601
|
--state-key-suffix codelab_backfill_demo \
|
|
@@ -639,7 +639,7 @@ The local run you completed in *Materialize the decision graph* uses default beh
|
|
|
639
639
|
* **Bound the per-run batch size** (`--max-sessions`). Useful when an upstream event spike threatens to overwhelm a single scan.
|
|
640
640
|
|
|
641
641
|
> aside positive
|
|
642
|
-
> **From "run this once" to "run this every six hours":** The SDK ships a deploy script and a Terraform module that wrap `bqaa context-graph` as a Cloud Run Job triggered by Cloud Scheduler, with least-privilege service accounts and the IAM grants the job needs. Follow the [scheduled Context Graph deploy runbook](https://github.com/GoogleCloudPlatform/BigQuery-Agent-Analytics-SDK/blob/main/docs/guides/scheduled-context-graph-deploy.md) to take *this*
|
|
642
|
+
> **From "run this once" to "run this every six hours":** The SDK ships a deploy script and a Terraform module that wrap `bqaa context-graph` as a Cloud Run Job triggered by Cloud Scheduler, with least-privilege service accounts and the IAM grants the job needs. Follow the [scheduled Context Graph deploy runbook](https://github.com/GoogleCloudPlatform/BigQuery-Agent-Analytics-SDK/blob/main/docs/guides/scheduled-context-graph-deploy.md) to take *this* deployed graph to a scheduled deploy with the same `--graph` flow, or the [periodic-materialization deployment guide](https://github.com/GoogleCloudPlatform/BigQuery-Agent-Analytics-SDK/tree/main/examples/context_graph/periodic_materialization) for the full IAM matrix and the explicit-ontology/binding path.
|
|
643
643
|
|
|
644
644
|
## Clean up
|
|
645
645
|
|
|
@@ -667,7 +667,7 @@ Duration: 02:00
|
|
|
667
667
|
|
|
668
668
|
Congratulations! You've turned raw agent event logs into a queryable Context Graph in BigQuery and traced a single decision end-to-end, with no external graph database or ETL pipeline.
|
|
669
669
|
|
|
670
|
-
The same pattern applies wherever an agent makes consequential decisions: credit underwriting, prior authorization, marketing budget moves, procurement, customer service, and internal IT. To build your own decision graph, copy the codelab artifacts as a starting point
|
|
670
|
+
The same pattern applies wherever an agent makes consequential decisions: credit underwriting, prior authorization, marketing budget moves, procurement, customer service, and internal IT. To build your own decision graph, copy the codelab artifacts as a starting point, adapt the two declarative files (table DDL + the `CREATE PROPERTY GRAPH` schema) to your domain, and apply them to BigQuery — `bqaa context-graph --graph` reads the deployed graph and derives the rest. Reach for an explicit `ontology.yaml` + `binding.yaml` only when you need descriptions, inheritance, derived properties, or column renames.
|
|
671
671
|
|
|
672
672
|
#### What you've learned
|
|
673
673
|
|
|
@@ -36,8 +36,8 @@ an audit artifact.
|
|
|
36
36
|
already followed the
|
|
37
37
|
[Periodic Materialization codelab](../codelabs/periodic_materialization.md)
|
|
38
38
|
through materialization, so that your project has: the dataset created, the
|
|
39
|
-
graph-table DDL applied, and the `agent_decisions_graph` property graph
|
|
40
|
-
|
|
39
|
+
graph-table DDL applied, and the `agent_decisions_graph` property graph
|
|
40
|
+
deployed to BigQuery. That setup is about ten minutes and is not repeated
|
|
41
41
|
here.
|
|
42
42
|
|
|
43
43
|
With the codelab setup in place, the only two commands specific to this guide
|
|
@@ -52,11 +52,13 @@ bqaa seed-events \
|
|
|
52
52
|
--project-id "$PROJECT_ID" --dataset-id "$DATASET" \
|
|
53
53
|
--scenario decision-realistic --seed 42
|
|
54
54
|
|
|
55
|
-
# 2. Materialize the decision graph from the events.
|
|
56
|
-
#
|
|
55
|
+
# 2. Materialize the decision graph from the events. The materializer reads
|
|
56
|
+
# the deployed graph's definition back from INFORMATION_SCHEMA.PROPERTY_GRAPHS.
|
|
57
|
+
# --lookback-hours 80 covers the corpus's 72-hour spread so every completed
|
|
58
|
+
# session is captured.
|
|
57
59
|
bqaa context-graph \
|
|
58
60
|
--project-id "$PROJECT_ID" --dataset-id "$DATASET" \
|
|
59
|
-
--
|
|
61
|
+
--graph agent_decisions_graph \
|
|
60
62
|
--lookback-hours 80
|
|
61
63
|
```
|
|
62
64
|
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
# Deploy a Context Graph on a schedule —
|
|
1
|
+
# Deploy a Context Graph on a schedule — consume the deployed graph
|
|
2
2
|
|
|
3
3
|
This runbook takes the [Periodic Materialization codelab](../codelabs/periodic_materialization.md)
|
|
4
4
|
graph from a local run to a **hands-off scheduled production deploy**, using the
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
deployed-graph (`--graph`) flow: you create the property graph in BigQuery once
|
|
6
|
+
(standard `bq` DDL), and the Cloud Run Job reads the graph's definition back
|
|
7
|
+
from `INFORMATION_SCHEMA.PROPERTY_GRAPHS` on every run and derives the
|
|
8
|
+
ontology + binding from it — no hand-written `ontology.yaml` / `binding.yaml`,
|
|
9
|
+
and no SQL file shipped in the image. The deployed graph is the single source
|
|
10
|
+
of truth: what you query with GQL is exactly what the job materializes.
|
|
8
11
|
|
|
9
12
|
It's the rename-free / common path. For richer graphs (descriptions to steer the
|
|
10
13
|
AI prompt, entity inheritance, derived properties, column renames, or a
|
|
@@ -12,14 +15,15 @@ compiled extractor) keep the explicit `--ontology` / `--binding` path in the
|
|
|
12
15
|
[context-graph deploy README](../../examples/context_graph/periodic_materialization/README.md),
|
|
13
16
|
which is also the deep reference for IAM, scheduling, monitoring, and teardown.
|
|
14
17
|
|
|
15
|
-
> Requires `bigquery-agent-analytics >= 0.3.
|
|
18
|
+
> Requires `bigquery-agent-analytics >= 0.3.4`.
|
|
16
19
|
|
|
17
20
|
## The shape
|
|
18
21
|
|
|
19
22
|
```
|
|
20
23
|
agent_events run_job.py (Cloud Run Job, every N hrs):
|
|
21
|
-
(your EVENTS dataset) ───► 1.
|
|
22
|
-
read-only
|
|
24
|
+
(your EVENTS dataset) ───► 1. read graph DDL from INFORMATION_SCHEMA
|
|
25
|
+
read-only .PROPERTY_GRAPHS (your GRAPH dataset)
|
|
26
|
+
2. derive ontology+binding from it
|
|
23
27
|
3. materialize sessions → node/edge tables
|
|
24
28
|
(your GRAPH dataset)
|
|
25
29
|
│
|
|
@@ -29,17 +33,16 @@ agent_events run_job.py (Cloud Run Job, every N hrs):
|
|
|
29
33
|
```
|
|
30
34
|
|
|
31
35
|
Two datasets, two lifecycles: **events** is read-only (your agents write it);
|
|
32
|
-
**graph** is writable (
|
|
33
|
-
the state table).
|
|
34
|
-
|
|
35
|
-
dataset while events stay read-only.
|
|
36
|
+
**graph** is writable (you create the tables + the property graph once; the job
|
|
37
|
+
writes the materialized rows and the state table). You deploy the graph schema
|
|
38
|
+
yourself in step 1; from then on the job only ever *reads* the definition.
|
|
36
39
|
|
|
37
40
|
## 0. Prerequisites
|
|
38
41
|
|
|
39
42
|
```bash
|
|
40
43
|
export PROJECT_ID="your-project"
|
|
41
|
-
export EVENTS_DS="agent_analytics"
|
|
42
|
-
export GRAPH_DS="
|
|
44
|
+
export EVENTS_DS="agent_analytics" # read-only: holds agent_events
|
|
45
|
+
export GRAPH_DS="decision_graph" # writable: holds the materialized graph
|
|
43
46
|
|
|
44
47
|
gcloud services enable \
|
|
45
48
|
bigquery.googleapis.com run.googleapis.com cloudscheduler.googleapis.com \
|
|
@@ -47,7 +50,7 @@ gcloud services enable \
|
|
|
47
50
|
aiplatform.googleapis.com --project="$PROJECT_ID"
|
|
48
51
|
```
|
|
49
52
|
|
|
50
|
-
`aiplatform.googleapis.com` is needed because
|
|
53
|
+
`aiplatform.googleapis.com` is needed because deployed-graph mode uses
|
|
51
54
|
`AI.GENERATE` extraction (`ai-fallback`). The deploy script grants the runtime
|
|
52
55
|
service account `roles/aiplatform.user` automatically in that mode.
|
|
53
56
|
|
|
@@ -60,46 +63,54 @@ bqaa seed-events --project-id "$PROJECT_ID" --dataset-id "$EVENTS_DS" \
|
|
|
60
63
|
--scenario decision --sessions 5
|
|
61
64
|
```
|
|
62
65
|
|
|
63
|
-
## 1.
|
|
66
|
+
## 1. Deploy your graph to BigQuery
|
|
64
67
|
|
|
65
|
-
|
|
66
|
-
both, ready to adapt:
|
|
68
|
+
This is the only schema work you do, and you do it once. The codelab ships
|
|
69
|
+
both DDL files, ready to adapt to your own decision domain:
|
|
67
70
|
|
|
68
71
|
```bash
|
|
69
72
|
cp examples/codelab/periodic_materialization/property_graph.sql .
|
|
70
73
|
cp examples/codelab/periodic_materialization/table_ddl.sql .
|
|
74
|
+
|
|
75
|
+
bq --location=US mk --dataset "$PROJECT_ID:$GRAPH_DS" 2>/dev/null || true
|
|
76
|
+
|
|
77
|
+
# The files are placeholdered for envsubst; the graph lives in the GRAPH
|
|
78
|
+
# dataset, so render ${DATASET} as $GRAPH_DS. Tables first — CREATE PROPERTY
|
|
79
|
+
# GRAPH rejects references to tables that do not exist yet.
|
|
80
|
+
DATASET="$GRAPH_DS" envsubst < table_ddl.sql | bq query --use_legacy_sql=false
|
|
81
|
+
DATASET="$GRAPH_DS" envsubst < property_graph.sql | bq query --use_legacy_sql=false
|
|
71
82
|
```
|
|
72
83
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
84
|
+
BigQuery now records the graph's definition; everything downstream consumes it
|
|
85
|
+
by name (`agent_decisions_graph`) via `INFORMATION_SCHEMA.PROPERTY_GRAPHS`.
|
|
86
|
+
Confirm it's there:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
bq query --use_legacy_sql=false \
|
|
90
|
+
"SELECT property_graph_name FROM \`$PROJECT_ID.$GRAPH_DS\`.INFORMATION_SCHEMA.PROPERTY_GRAPHS"
|
|
91
|
+
# → agent_decisions_graph
|
|
92
|
+
```
|
|
76
93
|
|
|
77
94
|
## 2. Validate locally before you pay for Cloud Run
|
|
78
95
|
|
|
79
96
|
Run the job's runtime entrypoint on your laptop against the real datasets — same
|
|
80
|
-
code path the Cloud Run Job runs, no container:
|
|
97
|
+
code path the Cloud Run Job runs, no container, nothing staged:
|
|
81
98
|
|
|
82
99
|
```bash
|
|
83
|
-
pip install -e . # or: pip install 'bigquery-agent-analytics>=0.3.
|
|
84
|
-
|
|
85
|
-
# Stage the runtime + your two artifacts together (mirrors what the deploy
|
|
86
|
-
# script bundles into the image).
|
|
87
|
-
mkdir -p /tmp/cg-deploy && cp \
|
|
88
|
-
examples/context_graph/periodic_materialization/run_job.py \
|
|
89
|
-
property_graph.sql table_ddl.sql /tmp/cg-deploy/
|
|
100
|
+
pip install -e . # or: pip install 'bigquery-agent-analytics>=0.3.4'
|
|
90
101
|
|
|
91
102
|
BQAA_PROJECT_ID="$PROJECT_ID" \
|
|
92
103
|
BQAA_EVENTS_DATASET_ID="$EVENTS_DS" \
|
|
93
104
|
BQAA_GRAPH_DATASET_ID="$GRAPH_DS" \
|
|
94
|
-
|
|
105
|
+
BQAA_GRAPH="agent_decisions_graph" \
|
|
95
106
|
BQAA_LOOKBACK_HOURS="72" \
|
|
96
107
|
BQAA_LOCATION="US" \
|
|
97
|
-
python /
|
|
108
|
+
python examples/context_graph/periodic_materialization/run_job.py
|
|
98
109
|
```
|
|
99
110
|
|
|
100
|
-
Expect a JSON report with `"mode": "
|
|
111
|
+
Expect a JSON report with `"mode": "deployed-graph"` and
|
|
101
112
|
`"sessions_materialized" > 0`. This is the cheapest way to confirm the
|
|
102
|
-
|
|
113
|
+
graph lookup + split-dataset wiring before deploying.
|
|
103
114
|
|
|
104
115
|
To validate a specific `AI.GENERATE` model here too, add
|
|
105
116
|
`BQAA_ENDPOINT="gemini-3.5-flash"` to the env block above — the same knob the
|
|
@@ -119,15 +130,15 @@ first.
|
|
|
119
130
|
--project "$PROJECT_ID" --region us-central1 \
|
|
120
131
|
--events-dataset "$EVENTS_DS" --graph-dataset "$GRAPH_DS" \
|
|
121
132
|
--schedule "0 */6 * * *" \
|
|
122
|
-
--
|
|
133
|
+
--graph agent_decisions_graph \
|
|
123
134
|
--smoke
|
|
124
135
|
```
|
|
125
136
|
|
|
126
137
|
`--smoke` runs the job once after deploy and tails the logs, so you find out
|
|
127
138
|
*now* whether it works. The script builds + publishes the image from local
|
|
128
139
|
source, pre-creates the graph dataset, sets up least-privilege service accounts
|
|
129
|
-
+ IAM, deploys the Cloud Run Job with `
|
|
130
|
-
and wires the Cloud Scheduler trigger. (`--
|
|
140
|
+
+ IAM, deploys the Cloud Run Job with `BQAA_GRAPH=agent_decisions_graph`,
|
|
141
|
+
and wires the Cloud Scheduler trigger. (`--graph` is incompatible with
|
|
131
142
|
`--extraction-mode=compiled-only`, which the script rejects at the boundary.)
|
|
132
143
|
|
|
133
144
|
To pick the `AI.GENERATE` extraction model — e.g. a Gemini 3.x model — add
|
|
@@ -139,21 +150,20 @@ runtime keeps its `gemini-2.5-flash` default:
|
|
|
139
150
|
--project "$PROJECT_ID" --region us-central1 \
|
|
140
151
|
--events-dataset "$EVENTS_DS" --graph-dataset "$GRAPH_DS" \
|
|
141
152
|
--schedule "0 */6 * * *" \
|
|
142
|
-
--
|
|
153
|
+
--graph agent_decisions_graph \
|
|
143
154
|
--endpoint gemini-3.5-flash \
|
|
144
155
|
--smoke
|
|
145
156
|
```
|
|
146
157
|
|
|
147
158
|
### Option B — Terraform
|
|
148
159
|
|
|
149
|
-
Terraform takes a published image as input, so build one first
|
|
150
|
-
|
|
151
|
-
`table_ddl.sql` instead of `ontology.yaml`/`binding.yaml`/`reference_extractor.py`):
|
|
160
|
+
Terraform takes a published image as input, so build one first. Deployed-graph
|
|
161
|
+
mode needs nothing staged beyond the runtime, so the default build works as-is:
|
|
152
162
|
|
|
153
163
|
```bash
|
|
154
164
|
IMAGE_URI="$(./examples/context_graph/periodic_materialization/build_image.sh \
|
|
155
|
-
--project "$PROJECT_ID" --repo bqaa --create-repo
|
|
156
|
-
|
|
165
|
+
--project "$PROJECT_ID" --repo bqaa --create-repo)"
|
|
166
|
+
# → REGION-docker.pkg.dev/.../...:<tag>
|
|
157
167
|
```
|
|
158
168
|
|
|
159
169
|
Then point Terraform at it:
|
|
@@ -163,9 +173,9 @@ Then point Terraform at it:
|
|
|
163
173
|
project_id = "your-project"
|
|
164
174
|
region = "us-central1"
|
|
165
175
|
events_dataset_id = "agent_analytics"
|
|
166
|
-
graph_dataset_id = "
|
|
176
|
+
graph_dataset_id = "decision_graph"
|
|
167
177
|
schedule = "0 */6 * * *"
|
|
168
|
-
|
|
178
|
+
graph = "agent_decisions_graph"
|
|
169
179
|
# endpoint = "gemini-3.5-flash" # optional: AI.GENERATE model (BQAA_ENDPOINT)
|
|
170
180
|
```
|
|
171
181
|
|
|
@@ -179,7 +189,7 @@ terraform init
|
|
|
179
189
|
terraform apply -var "image_uri=$IMAGE_URI"
|
|
180
190
|
```
|
|
181
191
|
|
|
182
|
-
`
|
|
192
|
+
`graph = "agent_decisions_graph"` sets `BQAA_GRAPH` on the Job; a plan-time
|
|
183
193
|
precondition rejects it together with `extraction_mode = "compiled-only"`.
|
|
184
194
|
|
|
185
195
|
## 4. Verify
|
|
@@ -200,7 +210,7 @@ bq query --use_legacy_sql=false \
|
|
|
200
210
|
```
|
|
201
211
|
|
|
202
212
|
The Cloud Logging entry per run is structured JSON; the key fields are
|
|
203
|
-
`mode = "
|
|
213
|
+
`mode = "deployed-graph"`, `sessions_materialized`, `sessions_failed`, and
|
|
204
214
|
`ok`. Wire a Cloud Monitoring alert on `ok = false` (see the
|
|
205
215
|
[deploy README](../../examples/context_graph/periodic_materialization/README.md#cloud-monitoring-alerts)).
|
|
206
216
|
|
|
@@ -209,6 +219,15 @@ exactly as in [Phase 4 of the codelab](../codelabs/periodic_materialization.md).
|
|
|
209
219
|
|
|
210
220
|
## Troubleshooting
|
|
211
221
|
|
|
222
|
+
**`Property graph ... not found in ... (INFORMATION_SCHEMA.PROPERTY_GRAPHS)`**
|
|
223
|
+
— the job looked for `BQAA_GRAPH` in the graph dataset and didn't find it. The
|
|
224
|
+
error lists the graphs that *do* exist there. Usual causes: step 1 was applied
|
|
225
|
+
to a different dataset than `BQAA_GRAPH_DATASET_ID`, or the `CREATE PROPERTY
|
|
226
|
+
GRAPH` statement failed (its tables didn't exist yet). Re-run step 1 and
|
|
227
|
+
confirm with the `INFORMATION_SCHEMA.PROPERTY_GRAPHS` query shown there. If
|
|
228
|
+
your graph lives in a *different* dataset on purpose, pass a qualified name:
|
|
229
|
+
`--graph other_dataset.agent_decisions_graph`.
|
|
230
|
+
|
|
212
231
|
**`404 NOT_FOUND ... Publisher Model ... was not found or your project does not
|
|
213
232
|
have access to it`** when you set `--endpoint` / `BQAA_ENDPOINT` to a Gemini 3.x
|
|
214
233
|
model. This is almost always a *location* mismatch, not an access problem:
|
|
@@ -221,8 +240,8 @@ project. The runtime's default `gemini-2.5-flash` works without any of this.
|
|
|
221
240
|
|
|
222
241
|
## When to use explicit `--ontology` / `--binding` instead
|
|
223
242
|
|
|
224
|
-
|
|
225
|
-
explicit pair (omit `--
|
|
243
|
+
Deployed-graph mode covers rename-free graphs with AI extraction. Reach for the
|
|
244
|
+
explicit pair (omit `--graph`; the deploy bundles `ontology.yaml` +
|
|
226
245
|
`binding.yaml`) when you need: human-readable descriptions to steer the
|
|
227
246
|
`AI.GENERATE` prompt, entity inheritance, derived (computed) properties, column
|
|
228
247
|
renames, or a deterministic compiled extractor (`--extraction-mode=compiled-only`).
|
|
@@ -6,9 +6,9 @@ These are the artifacts the *Trace AI Agent Decisions with BigQuery Property Gra
|
|
|
6
6
|
|
|
7
7
|
| File | Purpose |
|
|
8
8
|
|---|---|
|
|
9
|
-
| `property_graph.sql` | Property-graph DDL. Stitches the node and edge tables into a queryable BigQuery property graph. **
|
|
9
|
+
| `property_graph.sql` | Property-graph DDL. Stitches the node and edge tables into a queryable BigQuery property graph. **You apply this to BigQuery once; the deployed graph is then the single source of truth `bqaa context-graph --graph` derives the materialization spec from** (read back via `INFORMATION_SCHEMA.PROPERTY_GRAPHS`). |
|
|
10
10
|
| `table_ddl.sql` | Node and edge table DDL. The materializer writes into these tables every run. |
|
|
11
|
-
| `ontology.yaml` | **Optional override.** Names the entities and relationships; used by the materializer to construct the `AI.GENERATE` extraction prompt. Only needed when you pass `--ontology`/`--binding` instead of `--
|
|
11
|
+
| `ontology.yaml` | **Optional override.** Names the entities and relationships; used by the materializer to construct the `AI.GENERATE` extraction prompt. Only needed when you pass `--ontology`/`--binding` instead of `--graph`. |
|
|
12
12
|
| `binding.yaml` | **Optional override.** Maps ontology entities to physical BigQuery tables and columns. Must be rendered with `envsubst` before use. Pairs with `ontology.yaml`. |
|
|
13
13
|
| `seed_events.py` | Thin compatibility shim over the maintained `bqaa seed-events` command (SDK module `bigquery_agent_analytics.seed_events`). Writes a small corpus of completed decision sessions so the materializer has something to process. |
|
|
14
14
|
|
|
@@ -18,11 +18,11 @@ These are the artifacts the *Trace AI Agent Decisions with BigQuery Property Gra
|
|
|
18
18
|
2. `envsubst < table_ddl.sql | bq query --use_legacy_sql=false` creates the node and edge tables.
|
|
19
19
|
3. `envsubst < property_graph.sql | bq query --use_legacy_sql=false` creates the property graph.
|
|
20
20
|
4. `bqaa seed-events --project-id "$PROJECT_ID" --dataset-id "$DATASET" --sessions 5` populates `agent_events` (the bundled `seed_events.py` remains as a compatibility shim if you are running from the downloaded kit).
|
|
21
|
-
5. `bqaa context-graph --project-id "$PROJECT_ID" --dataset-id "$DATASET" --
|
|
21
|
+
5. `bqaa context-graph --project-id "$PROJECT_ID" --dataset-id "$DATASET" --graph agent_decisions_graph --lookback-hours 24` materializes the graph. It reads the deployed graph's definition back from `INFORMATION_SCHEMA.PROPERTY_GRAPHS` and derives the entities, relationships, and column types from it plus the table schemas — no SQL file passed to the materializer, no ontology or binding file required.
|
|
22
22
|
|
|
23
23
|
### Advanced: explicit ontology + binding
|
|
24
24
|
|
|
25
|
-
`ontology.yaml` and `binding.yaml` are kept here for when you outgrow schema-derived mode — when you need human-readable descriptions to steer the AI extraction prompt, entity inheritance, derived (computed) properties, or column renames. Render the binding (`envsubst < binding.yaml > binding.rendered.yaml`) and pass `--ontology ontology.yaml --binding binding.rendered.yaml` in place of `--
|
|
25
|
+
`ontology.yaml` and `binding.yaml` are kept here for when you outgrow schema-derived mode — when you need human-readable descriptions to steer the AI extraction prompt, entity inheritance, derived (computed) properties, or column renames. Render the binding (`envsubst < binding.yaml > binding.rendered.yaml`) and pass `--ontology ontology.yaml --binding binding.rendered.yaml` in place of `--graph`.
|
|
26
26
|
|
|
27
27
|
## Domain model
|
|
28
28
|
|
|
@@ -37,7 +37,7 @@ DecisionRequest --[evaluatesOption]--> DecisionOption
|
|
|
37
37
|
|
|
38
38
|
## Adapting these for your domain
|
|
39
39
|
|
|
40
|
-
For a production deployment you author your own versions of just **two** files describing your decision domain
|
|
40
|
+
For a production deployment you author your own versions of just **two** files describing your decision domain, apply them to BigQuery, and `bqaa context-graph --graph` derives the rest from the deployed graph:
|
|
41
41
|
|
|
42
42
|
* `property_graph.sql` — `CREATE OR REPLACE PROPERTY GRAPH ... NODE TABLES (...) EDGE TABLES (... SOURCE KEY (...) REFERENCES ... LABEL ...)`.
|
|
43
43
|
* `table_ddl.sql` — `CREATE TABLE IF NOT EXISTS` for each node and edge table, with the SDK metadata columns `session_id` and `extracted_at` included on every bound table.
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"\n",
|
|
209
209
|
"The codelab needs just two ready-to-use artifacts: the **table DDL** (the physical graph tables) and the **property-graph schema** (`CREATE PROPERTY GRAPH`). You do not author either yourself; the codelab uses them as-is, and the [README in the artifacts folder](https://github.com/GoogleCloudPlatform/BigQuery-Agent-Analytics-SDK/blob/main/examples/codelab/periodic_materialization/README.md) explains how to adapt them for your own decision domain.\n",
|
|
210
210
|
"\n",
|
|
211
|
-
"The property-graph schema is the single source of truth for *what* the graph contains. `bqaa context-graph` reads
|
|
211
|
+
"The property-graph schema is the single source of truth for *what* the graph contains. You apply it to BigQuery once; from then on the **deployed graph itself is the contract**: `bqaa context-graph` reads the graph's definition back from BigQuery's `INFORMATION_SCHEMA.PROPERTY_GRAPHS` (plus your table schemas) to figure out which entities and relationships to extract and where to write them — so you do **not** need to write a separate ontology or binding file, and no SQL file is ever passed to the materializer.\n",
|
|
212
212
|
"\n",
|
|
213
213
|
"This codelab is self-contained: the cell below writes the two artifacts into a working directory, so there is nothing to download. They are the same files shipped in [`examples/codelab/periodic_materialization/`](https://github.com/GoogleCloudPlatform/BigQuery-Agent-Analytics-SDK/tree/main/examples/codelab/periodic_materialization)."
|
|
214
214
|
]
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
"\n",
|
|
328
328
|
"`DecisionRequest` is the question the agent received. `DecisionOption` is one alternative the agent considered. `DecisionOutcome` records the committed choice and the rationale.\n",
|
|
329
329
|
"\n",
|
|
330
|
-
"> **Advanced: bring your own ontology + binding.** Schema-derived mode covers the common case. When you need finer control — human-readable descriptions to steer the AI extraction prompt, entity inheritance, derived (computed) properties, or column renames — author an explicit `ontology.yaml` + `binding.yaml` and pass `--ontology`/`--binding` instead of `--
|
|
330
|
+
"> **Advanced: bring your own ontology + binding.** Schema-derived mode covers the common case. When you need finer control — human-readable descriptions to steer the AI extraction prompt, entity inheritance, derived (computed) properties, or column renames — author an explicit `ontology.yaml` + `binding.yaml` and pass `--ontology`/`--binding` instead of `--graph`. The [artifacts folder](https://github.com/GoogleCloudPlatform/BigQuery-Agent-Analytics-SDK/tree/main/examples/codelab/periodic_materialization) ships both files as a starting point.\n",
|
|
331
331
|
"\n",
|
|
332
332
|
"## Apply the property graph schema\n",
|
|
333
333
|
"\n",
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
"source": [
|
|
353
353
|
"You should see five `CREATE TABLE` results and one `CREATE PROPERTY GRAPH` result. The DDL is idempotent; you can re-run it safely.\n",
|
|
354
354
|
"\n",
|
|
355
|
-
"That is the only schema work you do.
|
|
355
|
+
"That is the only schema work you do — and the only time the SQL files are used. BigQuery now records your graph's definition, and `bqaa context-graph` reads it back from `INFORMATION_SCHEMA.PROPERTY_GRAPHS` by name, so there is no separate binding file to render and no SQL file to pass to the materializer. What you query with GQL and what gets materialized can never drift apart: they are the same deployed graph.\n",
|
|
356
356
|
"\n",
|
|
357
357
|
"## Generate sample agent events\n",
|
|
358
358
|
"\n",
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
"## Materialize the decision graph\n",
|
|
473
473
|
"\n",
|
|
474
474
|
"\n",
|
|
475
|
-
"`bqaa context-graph` reads the raw `agent_events`, then **derives what to extract directly from your
|
|
475
|
+
"`bqaa context-graph` reads the raw `agent_events`, then **derives what to extract directly from your deployed graph**: it reads the `CREATE PROPERTY GRAPH` definition you applied in *Apply the property graph schema* back from BigQuery's `INFORMATION_SCHEMA.PROPERTY_GRAPHS`, joins it with the schemas of the tables it references, works out the entities, relationships, and column types, and populates the graph tables. Point it at the deployed graph by name with `--graph` — no SQL file, no separate ontology or binding file.\n",
|
|
476
476
|
"\n",
|
|
477
477
|
"**Run the materializer** locally:"
|
|
478
478
|
]
|
|
@@ -483,7 +483,7 @@
|
|
|
483
483
|
"metadata": {},
|
|
484
484
|
"outputs": [],
|
|
485
485
|
"source": [
|
|
486
|
-
"!bqaa context-graph --project-id \"$PROJECT_ID\" --dataset-id \"$DATASET\" --
|
|
486
|
+
"!bqaa context-graph --project-id \"$PROJECT_ID\" --dataset-id \"$DATASET\" --graph agent_decisions_graph --lookback-hours 24 --format json"
|
|
487
487
|
]
|
|
488
488
|
},
|
|
489
489
|
{
|
|
@@ -658,10 +658,10 @@
|
|
|
658
658
|
"print(f\"Backfill window FROM = {os.environ['FROM']}\")\n",
|
|
659
659
|
"print(f\"Backfill window TO = {os.environ['TO']}\")\n",
|
|
660
660
|
"\n",
|
|
661
|
-
"!
|
|
661
|
+
"!bqaa context-graph \\\n",
|
|
662
662
|
" --project-id \"$PROJECT_ID\" \\\n",
|
|
663
663
|
" --dataset-id \"$DATASET\" \\\n",
|
|
664
|
-
" --
|
|
664
|
+
" --graph agent_decisions_graph \\\n",
|
|
665
665
|
" --lookback-hours 1 \\\n",
|
|
666
666
|
" --backfill --from \"$FROM\" --to \"$TO\" \\\n",
|
|
667
667
|
" --state-key-suffix codelab_backfill_demo \\\n",
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
"* **Replay a past window** (`--backfill --from / --to`). You exercised this in *Replay a past window* above. The replay is tracked separately from the regular schedule so it cannot interfere with the live refresh.\n",
|
|
713
713
|
"* **Bound the per-run batch size** (`--max-sessions`). Useful when an upstream event spike threatens to overwhelm a single scan.\n",
|
|
714
714
|
"\n",
|
|
715
|
-
"> **From \"run this once\" to \"run this every six hours\":** The SDK ships a deploy script and a Terraform module that wrap `bqaa context-graph` as a Cloud Run Job triggered by Cloud Scheduler, with least-privilege service accounts and the IAM grants the job needs. Follow the [scheduled Context Graph deploy runbook](https://github.com/GoogleCloudPlatform/BigQuery-Agent-Analytics-SDK/blob/main/docs/guides/scheduled-context-graph-deploy.md) to take *this*
|
|
715
|
+
"> **From \"run this once\" to \"run this every six hours\":** The SDK ships a deploy script and a Terraform module that wrap `bqaa context-graph` as a Cloud Run Job triggered by Cloud Scheduler, with least-privilege service accounts and the IAM grants the job needs. Follow the [scheduled Context Graph deploy runbook](https://github.com/GoogleCloudPlatform/BigQuery-Agent-Analytics-SDK/blob/main/docs/guides/scheduled-context-graph-deploy.md) to take *this* deployed graph to a scheduled deploy with the same `--graph` flow, or the [periodic-materialization deployment guide](https://github.com/GoogleCloudPlatform/BigQuery-Agent-Analytics-SDK/tree/main/examples/context_graph/periodic_materialization) for the full IAM matrix and the explicit-ontology/binding path.\n",
|
|
716
716
|
"\n",
|
|
717
717
|
"## Clean up\n",
|
|
718
718
|
"\n",
|
|
@@ -743,7 +743,7 @@
|
|
|
743
743
|
"\n",
|
|
744
744
|
"Congratulations! You've turned raw agent event logs into a queryable Context Graph in BigQuery and traced a single decision end-to-end, with no external graph database or ETL pipeline.\n",
|
|
745
745
|
"\n",
|
|
746
|
-
"The same pattern applies wherever an agent makes consequential decisions: credit underwriting, prior authorization, marketing budget moves, procurement, customer service, and internal IT. To build your own decision graph, copy the codelab artifacts as a starting point
|
|
746
|
+
"The same pattern applies wherever an agent makes consequential decisions: credit underwriting, prior authorization, marketing budget moves, procurement, customer service, and internal IT. To build your own decision graph, copy the codelab artifacts as a starting point, adapt the two declarative files (table DDL + the `CREATE PROPERTY GRAPH` schema) to your domain, and apply them to BigQuery — `bqaa context-graph --graph` reads the deployed graph and derives the rest. Reach for an explicit `ontology.yaml` + `binding.yaml` only when you need descriptions, inheritance, derived properties, or column renames.\n",
|
|
747
747
|
"\n",
|
|
748
748
|
"#### What you've learned\n",
|
|
749
749
|
"\n",
|