Skip to content

samples: update ACI samples for capability coupling rules#593

Draft
surajkumar-08 wants to merge 6 commits into
microsoft:mainfrom
surajkumar-08:update-aci-api-changes
Draft

samples: update ACI samples for capability coupling rules#593
surajkumar-08 wants to merge 6 commits into
microsoft:mainfrom
surajkumar-08:update-aci-api-changes

Conversation

@surajkumar-08
Copy link
Copy Markdown

  • Fix swapped ImageSemantic/ImageOcr capability checks in AppIndexCapability
  • Add capability coupling comments to GetOrCreateIndex calls in all three ACI samples (SemanticSearch, KnowledgeRetrieval, AppIndexCapability)
  • Document that TextLexical suppression is only honored when TextSemantic is also Suppressed, and that ImageOcr/ImageSemantic are independent

surakumar_microsoft and others added 6 commits March 12, 2026 16:28
- Fix swapped ImageSemantic/ImageOcr capability checks in AppIndexCapability
- Add capability coupling comments to GetOrCreateIndex calls in all three
  ACI samples (SemanticSearch, KnowledgeRetrieval, AppIndexCapability)
- Document that TextLexical suppression is only honored when TextSemantic
  is also Suppressed, and that ImageOcr/ImageSemantic are independent

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…suppressed capabilities and improve data handling
@karkarl
Copy link
Copy Markdown
Contributor

karkarl commented May 1, 2026

I seem to be getting missing resource errors when trying to build locally:

Microsoft.UI.Xaml.dll!00007FF9F6E746B8: 80004005 - Unspecified error
/Files/Styles/Button.xaml
Beginning search for resource with key 'SolidBackgroundFillColorQuarternary'.

<TextBlock Grid.Column="0" Text="Semantic Image Capability Status:"/>
<TextBlock Grid.Column="1" x:Name="indexSemanticImageCapabilityResultText" Text="Unavailable"/>
</Grid>
<!-- Suppressed Capabilities Demo Section -->
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think showing an extra table of a test index with capabilities suppressed is a good demo. Perhaps we can move it to the Semantic Search sample page and move it as an setting in the gear icon. I believe updating GetOrCreateIndexWithOptions will involve deleting and recreating the index though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants