diff --git a/README.md b/README.md index 91a6790..fee8b0c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ # ai-inventory -AI Inventory Details +## Bedrock Service Details +* [Bedrock Service Information](https://github.e.it.census.gov/terraform/cloud-information/blob/master/aws/documentation/services/bedrock) + +## AI Inventory Details + +* [Inventory Catalog](inventory/catalog.md) * [Inventory Markdown](https://github.e.it.census.gov/terraform/cloud-information/blob/master/aws/documentation/services/bedrock/inventory.md) * [Inventory YAML](https://github.e.it.census.gov/terraform/cloud-information/blob/master/aws/documentation/services/bedrock/inventory.yml) + diff --git a/inventory.yml b/inventory.yml index 85890f9..beec3ba 100644 --- a/inventory.yml +++ b/inventory.yml @@ -1,5 +1,5 @@ -template_date: 2026-05-05 -template_version: 1.0.2 +template_date: 2026-05-08 +template_version: 1.0.4 basic: date: YYYY-MM-DD version: 1.0.0 @@ -7,6 +7,7 @@ basic: - name: NAME division: DIV mail: EMAIL + configuration_completed: YYYY-MM-DD bedrock_information: company_name: U.S. Census Bureau @@ -35,8 +36,15 @@ federal_standards_information: project_summary: SUMMARY development_stage: active | planned | research | pilot | retired data_sensitivity: DESCRIPTION + - title5_pii + - title13 + - title26 + - other dms_project_number: number cms_project_number: number + dates: + start_date: YYYY-MM-DD + end_date: YYYY-MM-DD deployment_details: crf_number: NUMBER diff --git a/inventory/20260127-1.yml b/inventory/20260127-1.yml index 8ac6d36..2e6f38d 100644 --- a/inventory/20260127-1.yml +++ b/inventory/20260127-1.yml @@ -2,7 +2,7 @@ template_date: 2026-04-20 template_version: 1.0.0 basic: date: 2026-04-20 - version: 1.0.0 + version: 1.0.1 contact_info: - name: Donald E Badrak II division: TCO @@ -10,6 +10,7 @@ basic: - name: Nelson Er division: FLD mail: nelson.er@census.gov + configuration_completed: 2026-04-14 bedrock_information: company_name: U.S. Census Bureau @@ -22,8 +23,12 @@ bedrock_information: Responses to short real-world practice scenarios to provide personalized user feedback as part of online training. bedrock_models: - - anthropic.claude-4-5-sonnet-2025 - - meta.llama3-70b-instruct-v1:0 + - anthropic.claude-4-5-sonnet-2025: + regions: + - us-gov-east-1 + - meta.llama3-70b-instruct-v1:0: + regions: + - us-gov-west-1 federal_standards_information: id: 20260127-1 @@ -37,17 +42,28 @@ federal_standards_information: cms_project_number: none deployment_details: - - account_id: 535264746038 - account_alias: fld-training-dmz-nonprod-gov - environment: test - commercial_account_id: 755035179907 - commercial_account_alias: fld-training-dmz-nonprod-ew - - account_id: 535266574777 - account_alias: fld-training-dmz-prod-gov - environment: prod - commercial_account_id: 424858914728 - commercial_account_alias: fld-training-dmz-prod-ew - + crf_number: null + csam_id: null + finops_project_number: 114 + finops_project_name: fld_clc_ai_ml_tng + accounts: + - account_id: 535264746038 + account_alias: fld-training-dmz-nonprod-gov + environment: test + regions: + - us-gov-east-1 + - us-gov-west-1 + commercial_account_id: 755035179907 + commercial_account_alias: fld-training-dmz-nonprod-ew + - account_id: 535266574777 + account_alias: fld-training-dmz-prod-gov + environment: prod + regions: + - us-gov-east-1 + - us-gov-west-1 + commercial_account_id: 424858914728 + commercial_account_alias: fld-training-dmz-prod-ew + history: - date: 20260301 comment: (approximate date) activated anthropic.claude-4-5-sonnet-2025 in us-west-2 and us-east-1 in fld-training-dmz-nonprod-gov @@ -57,3 +73,7 @@ history: comment: activated anthropic.claude-4-5-sonnet-2025 in us-west-2 and us-east-1 in fld-training-dmz-prod-gov - date: 20260414 comment: (approximate date) activated meta.llama3-70b-instruct-v1:0 in us-west-2 in fld-training-dmz-prod-gov. not available in us-east-1 + - date: 20260511 + comment: reformat deployment_details + - date: 20260515 + comment: add regions for bedrock diff --git a/inventory/20260420-1.yml b/inventory/20260420-1.yml index 6b87a37..18e2dee 100644 --- a/inventory/20260420-1.yml +++ b/inventory/20260420-1.yml @@ -2,11 +2,12 @@ template_date: 2026-04-20 template_version: 1.0.0 basic: date: 2026-04-20 - version: 1.0.1 + version: 1.0.2 contact_info: - name: Alessandro Ferrucci division: ADEP mail: alessandro.ferrucci@census.gov + configuration_completed: 2026-04-21 bedrock_information: company_name: U.S. Census Bureau @@ -22,7 +23,9 @@ bedrock_models: # - anthropic.claude-3-haiku-20240307-v1:0 # - anthropic.claude-3-5-sonnet-20240620-v1:0 # - anthropic.claude-3-7-sonnet-20250219-v1:0 - - anthropic.claude-4-5-sonnet-2025 + - anthropic.claude-4-5-sonnet-2025: + regions: + - us-gov-west-1 federal_standards_information: id: 20260420-1 @@ -36,22 +39,33 @@ federal_standards_information: cms_project_number: none deployment_details: - - account_id: 818199694861 - account_alias: do3-ma3-gov - environment: dev - commercial_account_id: 172178602482 - commercial_account_alias: do3-ma3-ew - - account_id: 039006938515 - account_alias: edl-adep-nonprod-gov - environment: ite - commercial_account_id: 590183833952 - commercial_account_alias: edl-adep-nonprod-ew - - account_id: 039068422245 - account_alias: edl-adep-prod-gov - environment: prod - commercial_account_id: 730335615043 - commercial_account_alias: edl-adep-prod-ew - + crf_number: null + csam_id: null + finops_project_number: 1 + finops_project_name: edl_dice + accounts: + - account_id: 818199694861 + account_alias: do3-ma3-gov + environment: dev + regions: + - us-gov-west-1 + commercial_account_id: 172178602482 + commercial_account_alias: do3-ma3-ew + - account_id: 039006938515 + account_alias: edl-adep-nonprod-gov + environment: ite + regions: + - us-gov-west-1 + commercial_account_id: 590183833952 + commercial_account_alias: edl-adep-nonprod-ew + - account_id: 039068422245 + account_alias: edl-adep-prod-gov + environment: prod + regions: + - us-gov-west-1 + commercial_account_id: 730335615043 + commercial_account_alias: edl-adep-prod-ew + history: - date: 20260421 comment: activated anthropic.claude-4-5-sonnet-2025 in us-west-2 and us-east-1 in do3-ma3-ew (for -gov) @@ -59,4 +73,7 @@ history: comment: activated anthropic.claude-4-5-sonnet-2025 in us-west-2 and us-east-1 in edl-adep-nonprod-ew (for -gov) - date: 20260421 comment: activated anthropic.claude-4-5-sonnet-2025 in us-west-2 and us-east-1 in edl-adep-prod-ew (for -gov). Shows an error trying to use it. Got it working again. - + - date: 20260511 + comment: reformat deployment_details + - date: 20260515 + comment: add regions for bedrock diff --git a/inventory/20260420-2.yml b/inventory/20260420-2.yml index 35cfba8..ded0ad5 100644 --- a/inventory/20260420-2.yml +++ b/inventory/20260420-2.yml @@ -2,7 +2,7 @@ template_date: 2026-04-20 template_version: 1.0.0 basic: date: 2026-04-20 - version: 1.0.0 + version: 1.0.1 contact_info: - name: Ilene Tayman division: DIR @@ -10,6 +10,7 @@ basic: - name: Matt Jensen division: DIR mail: matthew.jensen@census.gov + configuration_completed: 2026-04-20 bedrock_information: company_name: U.S. Census Bureau @@ -23,7 +24,15 @@ bedrock_information: Department of Commerce leadership decisions regarding processes, methodologies, and business rules to be used for the 2030 Census. bedrock_models: - - anthropic.claude-4-5-sonnet-2025 + - anthropic.claude-4-5-sonnet-2025: + regions: + - us-gov-west-1 + - anthropic.claude-opus-4-7: + regions: + - us-west-2 + - anthropic.claude-opus-4-8: + regions: + - us-west-2 # - anthropic.claude-3-haiku-20240307-v1:0 # - anthropic.claude-3-7-sonnet-20250219-v1:0 # - anthropic.claude-3-5-sonnet-20240620-v1:0 @@ -42,12 +51,19 @@ federal_standards_information: cms_project_number: none deployment_details: - - account_id: 001502248272 - account_alias: edl-addcp-prod-gov - environment: prod - commercial_account_id: 563127383709 - commercial_account_alias: edl-addcp-prod-ew - + crf_number: null + csam_id: null + finops_project_number: 1 + finops_project_name: edl_ditd + accounts: + - account_id: 001502248272 + account_alias: edl-addcp-prod-gov + regions: + - us-gov-west-1 + environment: prod + commercial_account_id: 563127383709 + commercial_account_alias: edl-addcp-prod-ew + history: - date: 20260420 comment: activated anthropic.claude-4-5-sonnet-2025 in us-west-2 @@ -59,3 +75,9 @@ history: comment: trying sonnet 4.5 in us-west-2 - date: 20260420 comment: enabled with model access in us-gov-west-1 sonnet 4.5 (sonnet 4.6 does not show up), validatd with playground + - date: 20260511 + comment: reformat deployment_details + - date: 20260515 + comment: add regions for bedrock + - date: 20260604 + comment: add opus 4.8 diff --git a/inventory/20260504-1.docx b/inventory/20260504-1.docx new file mode 100644 index 0000000..a48139b Binary files /dev/null and b/inventory/20260504-1.docx differ diff --git a/inventory/20260504-1.yml b/inventory/20260504-1.yml new file mode 100644 index 0000000..554f4ec --- /dev/null +++ b/inventory/20260504-1.yml @@ -0,0 +1,83 @@ +template_date: 2026-05-05 +template_version: 1.0.2 +basic: + date: 2026-05-04 + version: 1.0.0 + contact_info: + - name: Sreenivas Karpurapu + division: DITD + mail: sreenivas.karpurapu@census.gov + - name: Ama Danso + division: DITD + mail: Ama.A.Danso@census.gov + configuration_completed: 2026-05-12 + +bedrock_information: + company_name: U.S. Census Bureau + website_url: https://census.gov/ + industry: Government + intended_users: + internal_employees: true + external_user: false + use_case_description: | + QUANTM's AI Enhanced Clerical Matching Solution evaluates the application of large language models to support + In Field Enumeration (IFE) and Census Data Quality Assurance (CDQA) by performing intelligent matching of complex records, + reducing manual clerical effort while producing transparent, explainable decisions consistent with expert human judgment. + +bedrock_models: + - anthropic.claude-4-5-sonnet: + regions: + - us-gov-west-1 + +federal_standards_information: + id: 20260504-1 + project_name: QUANTM + project_summary: | + As part of the quality operations of the US Census Bureau, computer matching and clerical operations are employed. These efforts help in the assessment + of the quality of data collection. The existing operations have constraints in their ability to accurately match and compare complex datasets, resulting in high number + of cases being flagged or removed. This process is time-intensive and expensive, creating a significant burden on human resources. With the advanced AI capabilities + available in the industry, QUANTM is assessing their feasibility to support the quality assessment efforts and reduce the clerical footprint. The bureau aims to explore + whether large language model (LLM) technology can replicate and improve upon the reasoning processes used by human clerks. + development_stage: active + data_sensitivity: Demographic data from census survey responses + - title13 + dms_project_number: 7535836 + cms_project_number: null + +deployment_details: + crf_number: null + csam_id: 3305 + finops_project_number: 1 + finops_project_name: edl_ditd + finops_project_role: edl_ditd_quantm + + accounts: + - account_id: 001502248272 + account_alias: edl-addcp-prod-gov + regions: + - us-gov-west-1 + environment: prod + commercial_account_id: 563127383709 + - account_id: 001483615964 + account_alias: edl-addcp-nonprod-gov + regions: + - us-gov-west-1 + environment: nonprod + commercial_account_id: 185186913888 + - account_id: 001522620024 + account_alias: edl-addcp-dev-gov + regions: + - us-gov-west-1 + environment: dev + commercial_account_id: 121499640232 + commercial_account_alias: edl-addcp-dev-ew + +history: + - date: 20260505 + comment: created file + - date: 20260512 + comment: validated availability of requested model due to setup of prior configuration 20260420-2 + - date: 20260515 + comment: add regions for bedrock + - date: 20260528 + comment: enable for edl-addcp-dev and edl-addcp-nonprod diff --git a/inventory/20260505-1.yml b/inventory/20260505-1.yml index bbc23cc..422f629 100644 --- a/inventory/20260505-1.yml +++ b/inventory/20260505-1.yml @@ -13,19 +13,22 @@ basic: - name: Liza Hill division: CED mail: Liza.L.Hill@census.gov + configuration_completed: 2026-05-11 bedrock_information: company_name: U.S. Census Bureau website_url: https://census.gov/ industry: Government - intended_users: Internal CEDSCI Users + intended_users: internal_employees: true external_user: false use_case_description: | AI-Assisted code development to support software development, refactoring, and application modernization activities bedrock_models: - - anthropic.claude-4-5-sonnet + - anthropic.claude-4-5-sonnet: + regions: + - us-gov-east-1 federal_standards_information: id: 20260505-1 @@ -54,4 +57,8 @@ deployment_details: history: - date: 20260505 - comment: created + comment: created file + - date: 20260511 + comment: enabled sonnet 4.5 in commercial east and west, updated model access in gov east only + - date: 20260515 + comment: add regions for bedrock diff --git a/inventory/20260505-2.yml b/inventory/20260505-2.yml index 84a1934..f2e1156 100644 --- a/inventory/20260505-2.yml +++ b/inventory/20260505-2.yml @@ -13,6 +13,7 @@ basic: - name: Liza Hill division: CED mail: Liza.L.Hill@census.gov + configuration_completed: 2026-05-11 bedrock_information: company_name: U.S. Census Bureau @@ -65,6 +66,8 @@ deployment_details: - us-gov-west-1 environment: dev commercial_account_id: 131367201960 + commercial_account_alias: cedsci-dev-ew + enabled: true - account_id: 363068123525 account_alias: cedsci-test-gov regions: @@ -72,6 +75,8 @@ deployment_details: - us-gov-west-1 environment: test commercial_account_id: 579031397736 + commercial_account_alias: cedsci-test-ew + enabled: false - account_id: 380846180853 account_alias: cedsci-dmz-stage-gov regions: @@ -79,6 +84,8 @@ deployment_details: - us-gov-west-1 environment: stage commercial_account_id: 878097483608 + commercial_account_alias: cedsci-dmz-stage-ew + enabled: false - account_id: 398485042028 account_alias: cedsci-dmz-prod-gov regions: @@ -87,7 +94,14 @@ deployment_details: environment: prod commercial_account_id: 447367778161 commercial_account_alias: cedsci-dmz-prod-ew + enabled: false history: - date: 20260505 - comment: created + comment: created file + - date: 20260511 + comment: sonnet 4.5 enabled as part of 20260505-1. amazon.titan-embed-text already enabled in east, enabled in west. Enabled llama3 8b and 70b in west. + - date: 20260511 + comment: note this was ONLY done on cedsci-dev-* accounts, as the development_stage is research + - date: 20260515 + comment: add regions for bedrock diff --git a/inventory/20260506-1.docx b/inventory/20260506-1.docx new file mode 100644 index 0000000..60bfbd4 Binary files /dev/null and b/inventory/20260506-1.docx differ diff --git a/inventory/20260506-1.txt b/inventory/20260506-1.txt new file mode 100644 index 0000000..acde0f7 --- /dev/null +++ b/inventory/20260506-1.txt @@ -0,0 +1,61 @@ +Bedrock Inventory Information + Date: 2026-05-05 + Version: 1.0.2 + +Basic Information + Contact Name(s) - Alessandro Ferrucci + Contact Division(s) - OCIO + Contact Email Addresses - alessandro.ferrucci@census.gov + +Bedrock Requested Information + Company name + U.S. Census Bureau + Company website URL +https://census.gov/ + What industry to you operate in? Government + Who are your intended users? +[X] Internal employees + External users + Describe your use cases (do not share any PII or IP information): +Mojo wants to use LLMs to build AI-assisted workflows for humans writing/testing Business Rules & navigating Mojo documentation (ask questions about Mojo things, don't force humans to read through github pages.) + Bedrock Models Desired + Available in govcloud west and east +[x] anthropic.claude-4-5-sonnet + [x] amazon.titan-text-express + [x] amazon.titan-text-lite + [x] amazon.titan-embed-text + Available in govcloud west only + meta.llama3-8b + meta.llama3-70b + Not yet available but FedRAMP validated + anthropic.claude-4-6-sonnet + Legacy, cannot enable + anthropic.claude-3-haiku + anthropic.claude-3-5-sonnet + anthropic.claude-3-7-sonnet + +Federal Standards Requested Information + Unique ID + we will assign this + Project Name + Name of project - Mojo + Project Summary + Plain-language description of the AI's purpose and benefit - enhance the interaction between human and Mojo business rules to greatly improve the survey area's experience/ease of implementing survey rules. + Development Stage + Planned, Research, Pilot, Active, or Retired - Active + Data Sensitivity + Does the system process PII or other Sensitive data? Yes + If so, what type(s) - PII/T13/T26 + DMS or CMS Project Number + if applicable N/A + +Deployment Details +1. List of AWS account numbers and aliases where this will be used +ma6-gov, ma11-gov, ma12-gov, ma13-gov, ma14-gov + 2.Regions where this will be used (not all models directly available in all regions) + us-gov-east-1 + 3. CSVD CRF Number - N/A + 4. FinOps Project Number - fs0000000015 + 5.FinOps Project Name- ppsi_dice + + diff --git a/inventory/20260506-1.yml b/inventory/20260506-1.yml new file mode 100644 index 0000000..bd01bb8 --- /dev/null +++ b/inventory/20260506-1.yml @@ -0,0 +1,99 @@ +template_date: 2026-05-06 +template_version: 1.0.3 +basic: + date: 2026-05-06 + version: 1.0.0 + contact_info: + - name: Alessandro Ferrucci + division: ADEP + mail: alessandro.ferrucci@census.gov + configuration_completed: 2026-05-15 + +bedrock_information: + company_name: U.S. Census Bureau + website_url: https://census.gov/ + industry: Government + intended_users: + internal_employees: true + external_user: false + use_case_description: | + Mojo wants to use LLMs to build AI-assisted workflows for humans writing/testing Business Rules & + navigating Mojo documentation (ask questions about Mojo things, don't force humans to read through github pages.) + use_case_description_submission: | + To use LLMs to build AI-assisted workflows for humans writing/testing Business Rules & + navigating application documentation (ask questions about application things, don't force humans to read through github pages.) + +bedrock_models: + - anthropic.claude-4-5-sonnet: + regions: + - us-gov-east-1 + - amazon.titan-embed-text: + regions: + - us-gov-east-1 +bedrock_models_requested_not_available: + - amazon.titan-text-express + - amazon.titan-text-lite + +federal_standards_information: + id: 20260506-1 + project_name: Mojo + project_summary: Enhance the interaction between human and Mojo business rules to greatly improve the survey area's experience/ease of implementing survey rules. + development_stage: active + data_sensitivity: DESCRIPTION + - title5_pii + - title13 + - title26 + dms_project_number: null + cms_project_number: null + dates: + start_date: YYYY-MM-DD + end_date: YYYY-MM-DD + +deployment_details: + crf_number: null + finops_project_number: 15 + finops_project_name: ppsi_dice + accounts: + - account_id: 252960665057 + account_alias: ma6-gov + regions: + - us-gov-east-1 + environment: dev,qa + commercial_account_id: 592862806111 + commercial_account_alias: ma6-ew + - account_id: 412271945539 + account_alias: ma11-gov + regions: + - us-gov-east-1 + environment: ite,uat + commercial_account_id: 738161005686 + commercial_account_alias: ma11-ew + - account_id: 412295344020 + account_alias: ma12-gov + regions: + - us-gov-east-1 + environment: stage + commercial_account_id: 204684239979 + commercial_account_alias: ma12-ew + - account_id: 187944776148 + account_alias: ma13-gov + regions: + - us-gov-east-1 + environment: common + commercial_account_id: 623564278637 + commercial_account_alias: ma13-ew + - account_id: 187951786409 + account_alias: ma14-gov + regions: + - us-gov-east-1 + environment: prod + commercial_account_id: 785054711347 + commercial_account_alias: ma14-ew + +history: + - date: 20260508 + comment: populated from word doc + - date: 20260515 + comment: setup on ma6-gov, ma11-gov, ma12-gov, ma13-gov, ma14-gov in east for anthropic.claude-4-5-sonnet and amazon.titan-embed-text (was already enabled). Other amazon.titan-* no longer available. + - date: 20260515 + comment: add regions for bedrock diff --git a/inventory/README.md b/inventory/README.md new file mode 100644 index 0000000..4f70cb9 --- /dev/null +++ b/inventory/README.md @@ -0,0 +1,6 @@ +# Bedrock Inventory + +Generate + +```script +./yaml_to_md.py --input-pattern "20*yml" --template templates/bedrock_catalog.md.j2 --output catalog.md diff --git a/inventory/catalog.md b/inventory/catalog.md new file mode 100644 index 0000000..42a8554 --- /dev/null +++ b/inventory/catalog.md @@ -0,0 +1,170 @@ +# Bedrock Use Case Catalog + +| ID | Name | Date Completed | +|-|-|-| +| [20260127-1](#20260127-1) | Field Skills Interview Training | 2026-04-14 | +| [20260420-1](#20260420-1) | Valhalla | 2026-04-21 | +| [20260420-2](#20260420-2) | Decennial Census Data Quality Evaluation | 2026-04-20 | +| [20260504-1](#20260504-1) | QUANTM | 2026-05-12 | +| [20260505-1](#20260505-1) | CEDSCI AI Assisted Code Development | 2026-05-11 | +| [20260505-2](#20260505-2) | CEDSCI AI Agentic Semantic Search | 2026-05-11 | +| [20260506-1](#20260506-1) | Mojo | 2026-05-15 | + +## [20260127-1](20260127-1.yml) + +**Name** +Field Skills Interview Training + +**Summary** +Responses to short real-world practice scenarios to provide personalized user feedback as part of online training. + + +**Models** +| Model | Regions | +|---|---| +| anthropic.claude-4-5-sonnet-2025 | us-gov-east-1 | +| meta.llama3-70b-instruct-v1:0 | us-gov-west-1 | + +**Accounts** +| Account ID | Alias | +|---|---| +| 535264746038 | fld-training-dmz-nonprod-gov | +| 535266574777 | fld-training-dmz-prod-gov | + +## [20260420-1](20260420-1.yml) + +**Name** +Valhalla + +**Summary** +We are using LLMs to map unstructured data into a known schema (known variables, etc..) + +**Models** +| Model | Regions | +|---|---| +| anthropic.claude-4-5-sonnet-2025 | us-gov-west-1 | + +**Accounts** +| Account ID | Alias | +|---|---| +| 818199694861 | do3-ma3-gov | +| 039006938515 | edl-adep-nonprod-gov | +| 039068422245 | edl-adep-prod-gov | + +## [20260420-2](20260420-2.yml) + +**Name** +Decennial Census Data Quality Evaluation + +**Summary** +This project will evaluate data quality throughout the 2020 Census production cycle using LLMs to inform Census Bureau and +Department of Commerce leadership decisions regarding processes, methodologies, and business rules to be used for the 2030 Census. + + +**Models** +| Model | Regions | +|---|---| +| anthropic.claude-4-5-sonnet-2025 | us-gov-west-1 | +| anthropic.claude-opus-4-7 | us-west-2 | +| anthropic.claude-opus-4-8 | us-west-2 | + +**Accounts** +| Account ID | Alias | +|---|---| +| 001502248272 | edl-addcp-prod-gov | + +## [20260504-1](20260504-1.yml) + +**Name** +QUANTM + +**Summary** +As part of the quality operations of the US Census Bureau, computer matching and clerical operations are employed. These efforts help in the assessment +of the quality of data collection. The existing operations have constraints in their ability to accurately match and compare complex datasets, resulting in high number +of cases being flagged or removed. This process is time-intensive and expensive, creating a significant burden on human resources. With the advanced AI capabilities +available in the industry, QUANTM is assessing their feasibility to support the quality assessment efforts and reduce the clerical footprint. The bureau aims to explore +whether large language model (LLM) technology can replicate and improve upon the reasoning processes used by human clerks. + + +**Models** +| Model | Regions | +|---|---| +| anthropic.claude-4-5-sonnet | us-gov-west-1 | + +**Accounts** +| Account ID | Alias | +|---|---| +| 001502248272 | edl-addcp-prod-gov | +| 001483615964 | edl-addcp-nonprod-gov | +| 223027220 | edl-addcp-dev-gov | + +## [20260505-1](20260505-1.yml) + +**Name** +CEDSCI AI Assisted Code Development + +**Summary** +The goal of this project is to support the controlled use of AWS Bedrock–hosted large language models (LLMs) to +enable software development, refactoring, and application modernization activities within the CEDSCI DEV environment. + + +**Models** +| Model | Regions | +|---|---| +| anthropic.claude-4-5-sonnet | us-gov-east-1 | + +**Accounts** +| Account ID | Alias | +|---|---| +| 145577987146 | cedsci-dev-gov | + +## [20260505-2](20260505-2.yml) + +**Name** +CEDSCI AI Agentic Semantic Search + +**Summary** +CEDSCI AI Agentic Semantic Search is a cloud-native, generative AI–driven capability that enables a +natural-language interface for interacting with publicly released Census Bureau statistical data and metadata. +The project introduces an agentic semantic search layer that combines large language models (LLMs) with structured +metadata and data assets to provide a conversational AI interface, exposed through data.census.gov and api.census.gov. + + +**Models** +| Model | Regions | +|---|---| +| anthropic.claude-4-5-sonnet | us-gov-east-1, us-gov-west-1 | +| amazon.titan-embed-text | us-gov-east-1, us-gov-west-1 | +| meta.llama3-8b | us-gov-west-1 | +| meta.llama3-70b | us-gov-west-1 | + +**Accounts** +| Account ID | Alias | +|---|---| +| 145577987146 | cedsci-dev-gov | +| 363068123525 | cedsci-test-gov | +| 380846180853 | cedsci-dmz-stage-gov | +| 398485042028 | cedsci-dmz-prod-gov | + +## [20260506-1](20260506-1.yml) + +**Name** +Mojo + +**Summary** +Enhance the interaction between human and Mojo business rules to greatly improve the survey area's experience/ease of implementing survey rules. + +**Models** +| Model | Regions | +|---|---| +| anthropic.claude-4-5-sonnet | us-gov-east-1 | +| amazon.titan-embed-text | us-gov-east-1 | + +**Accounts** +| Account ID | Alias | +|---|---| +| 252960665057 | ma6-gov | +| 412271945539 | ma11-gov | +| 412295344020 | ma12-gov | +| 187944776148 | ma13-gov | +| 187951786409 | ma14-gov | diff --git a/inventory/generate-catalog.sh b/inventory/generate-catalog.sh new file mode 100755 index 0000000..7fe2f45 --- /dev/null +++ b/inventory/generate-catalog.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +./yaml_to_md.py --input-pattern "20*yml" --template templates/bedrock_catalog.md.j2 --output catalog.md diff --git a/inventory/templates/bedrock_catalog.md.j2 b/inventory/templates/bedrock_catalog.md.j2 new file mode 100755 index 0000000..f217b2f --- /dev/null +++ b/inventory/templates/bedrock_catalog.md.j2 @@ -0,0 +1,43 @@ +# Bedrock Use Case Catalog + +| ID | Name | Date Completed | +|-|-|-| +{% for record in records -%} +| [{{ record.federal_standards_information.id }}](#{{ record.federal_standards_information.id }}) | {{ record.federal_standards_information.project_name }} | {{ record.basic.configuration_completed }} | +{% endfor -%} + +{% for record in records %} + +## [{{ record.federal_standards_information.id }}]({{ record.federal_standards_information.id }}.yml) + +**Name** +{{ record.federal_standards_information.project_name }} + +**Summary** +{{ record.federal_standards_information.project_summary }} + +{% if record.bedrock_models | default([]) %} +**Models** +| Model | Regions | +|---|---| +{% for entry in record.bedrock_models %} +{% if entry is mapping %} +{% for model_name, model_data in entry.items() %} +| {{ model_name }} | {{ (model_data.regions | default([])) | join(', ') }} | +{% endfor %} +{% else %} +| {{ entry }} | all | +{% endif %} +{% endfor %} +{% endif %} + +{% if record.deployment_details.accounts | default([]) %} +**Accounts** +| Account ID | Alias | +|---|---| +{% for account in record.deployment_details.accounts -%} +| {{ account.account_id | default('—') }} | {{ account.account_alias | default('—') }} | +{% endfor %} +{% endif -%} +{% endfor -%} + diff --git a/inventory/yaml_to_md.py b/inventory/yaml_to_md.py new file mode 100755 index 0000000..ddd88d1 --- /dev/null +++ b/inventory/yaml_to_md.py @@ -0,0 +1,114 @@ +#!/usr/bin/env python3 +""" +yaml_to_md.py - Render a collection of YAML files into a Markdown file via a Jinja2 template. + +Usage: + python yaml_to_md.py --input-pattern "specs/*.yml" --template bedrock_catalog.md.j2 --output catalog.md + +Changelog: + v1.0.0 2026-05-05 Initial release. +""" + +__version__ = "1.0.1" + +import argparse +import glob +import sys +from pathlib import Path + +import yaml +from jinja2 import Environment, FileSystemLoader, StrictUndefined, TemplateNotFound, ChainableUndefined + + +# --------------------------------------------------------------------------- +# helpers +# --------------------------------------------------------------------------- + +def load_yaml_files(pattern: str) -> list[dict]: + """Glob *pattern* and return a list of parsed YAML dicts, sorted by path.""" + paths = sorted(glob.glob(pattern, recursive=True)) + if not paths: + print(f"[warn] No files matched pattern: {pattern}", file=sys.stderr) + records = [] + for p in paths: + try: + with open(p, encoding="utf-8") as fh: + data = yaml.safe_load(fh) + if data: + data["_source_file"] = p # inject source path for convenience + records.append(data) + print(f"[load] {p}", file=sys.stderr) + except yaml.YAMLError as exc: + print(f"[error] Failed to parse {p}: {exc}", file=sys.stderr) + return records + + +def render_template(template_path: str, records: list[dict]) -> str: + """Render *template_path* with *records* and return the resulting string.""" + tmpl_file = Path(template_path) + env = Environment( + loader=FileSystemLoader(str(tmpl_file.parent)), +# undefined=StrictUndefined, # raise on missing variables + undefined=ChainableUndefined, + trim_blocks=True, + lstrip_blocks=True, + keep_trailing_newline=True, + ) + try: + template = env.get_template(tmpl_file.name) + except TemplateNotFound: + print(f"[error] Template not found: {template_path}", file=sys.stderr) + sys.exit(1) + + return template.render(records=records) + + +# --------------------------------------------------------------------------- +# CLI +# --------------------------------------------------------------------------- + +def build_parser() -> argparse.ArgumentParser: + p = argparse.ArgumentParser( + description="Render YAML files into Markdown via a Jinja2 template.", + formatter_class=argparse.RawDescriptionHelpFormatter, + epilog=__doc__, + ) + p.add_argument( + "--input-pattern", "-i", + required=True, + help='Glob pattern for input YAML files, e.g. "specs/*.yml"', + ) + p.add_argument( + "--template", "-t", + required=True, + help="Path to the Jinja2 template file (.j2 or .md.j2)", + ) + p.add_argument( + "--output", "-o", + required=True, + help="Path for the rendered Markdown output file", + ) + p.add_argument( + "--version", "-V", + action="version", + version=f"%(prog)s {__version__}", + ) + return p + + +def main() -> None: + args = build_parser().parse_args() + + records = load_yaml_files(args.input_pattern) + print(f"[info] Loaded {len(records)} record(s).", file=sys.stderr) + + rendered = render_template(args.template, records) + + out_path = Path(args.output) + out_path.parent.mkdir(parents=True, exist_ok=True) + out_path.write_text(rendered, encoding="utf-8") + print(f"[done] Wrote {out_path}", file=sys.stderr) + + +if __name__ == "__main__": + main()