Skip to content

[azure-ai-finetuning-sessions] Return sample prompt token IDs - #48876

Closed
Sujit Kamireddy (sujit-kamireddy) wants to merge 3 commits into
Azure:feature/finetuning-sessions-sdkfrom
sujit-kamireddy:ksujit/return-sample-prompt-token-ids
Closed

[azure-ai-finetuning-sessions] Return sample prompt token IDs#48876
Sujit Kamireddy (sujit-kamireddy) wants to merge 3 commits into
Azure:feature/finetuning-sessions-sdkfrom
sujit-kamireddy:ksujit/return-sample-prompt-token-ids

Conversation

@sujit-kamireddy

@sujit-kamireddy Sujit Kamireddy (sujit-kamireddy) commented Sep 3, 2026

Copy link
Copy Markdown

Summary

  • Add the opt-in prompt_token_ids argument to synchronous and asynchronous sampling APIs.
  • Expose the exact accepted prompt on SampleOperationResult.prompt_token_ids.
  • Preserve compatibility with existing sample results that omit the optional field.

Validation

  • Targeted synchronous request serialization, asynchronous request forwarding, and result deserialization tests.

This is the SDK contract PR. A separate Loom backend PR will populate the field for worker and external-inference sampling paths.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added AI Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Sep 3, 2026
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Thank you for your contribution Sujit Kamireddy (@sujit-kamireddy)! We will review the pull request and get back to you soon.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
7 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Sujit Kamireddy and others added 2 commits September 3, 2026 04:03
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant