Skip to content

Using all the snippet for readme are being used#49216

Open
jpalvarezl wants to merge 1 commit into
mainfrom
jpalvarezl/fix/readme_snippets
Open

Using all the snippet for readme are being used#49216
jpalvarezl wants to merge 1 commit into
mainfrom
jpalvarezl/fix/readme_snippets

Conversation

@jpalvarezl
Copy link
Copy Markdown
Member

This pull request makes a minor cleanup in the ReadmeSamples.java file by removing unused sample code comment markers. No functional code changes are included.

Using all unused snippets in the README

Copilot AI review requested due to automatic review settings May 19, 2026 13:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the azure-ai-projects documentation and samples scaffolding to better align README code blocks with existing sample snippets, removing an unused snippet marker and expanding the README’s examples to cover more sub-clients and operations.

Changes:

  • Removed an unused/empty snippet marker block from ReadmeSamples.java.
  • Expanded README.md examples to include more synchronous and asynchronous operations across Connections, Deployments, Datasets, Indexes, and Skills.
  • Restructured/clarified the Examples section with additional headings and snippet references.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
sdk/ai/azure-ai-projects/src/samples/java/com/azure/ai/projects/ReadmeSamples.java Removes an unused snippet marker block from the generated README samples holder.
sdk/ai/azure-ai-projects/README.md Adds many more operation-specific code snippets and improves organization of the Examples section.

Comment on lines +148 to +152
```java com.azure.ai.projects.ConnectionsAsyncSample.listConnections

return connectionsAsyncClient.listConnections()
.doOnNext(connection -> System.out.printf("Connection name: %s%n", connection.getName()));


```java com.azure.ai.projects.IndexesDeleteSample.deleteIndex

String indexName = "test-index"; //Configuration.getGlobalConfiguration().get("INDEX_NAME", "my-index");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants