Skip to content

Add ChatOptions.Instructions - #6505

Merged
stephentoub merged 1 commit into
dotnet:mainfrom
stephentoub:chatoptionsinstructions
Jun 12, 2025
Merged

Add ChatOptions.Instructions#6505
stephentoub merged 1 commit into
dotnet:mainfrom
stephentoub:chatoptionsinstructions

Conversation

@stephentoub

@stephentoubstephentoub commented Jun 9, 2025

Copy link
Copy Markdown
Member

More services (especially those focused on agents) are starting to support the notion of per-request instructions, effectively system messages that aren't stored as part of a persisted chat history. For existing stateless services that don't have their own notion of separate instructions, we can just translate instructions into a system message.

Microsoft Reviewers: Open in CodeFlow

More services (especially those focused on agents) are starting to support the notion of per-request instructions, effectively system messages that aren't stored as part of a persisted chat history. For existing stateless services that don't have their own notion of separate instructions, we can just translate instructions into a system message.
@stephentoub
stephentoub requested a review from a team as a code ownerJune 9, 2025 16:19
@github-actionsgithub-actionsBot added the area-ai Microsoft.Extensions.AI libraries label Jun 9, 2025
@stephentoub

Copy link
Copy Markdown
MemberAuthor

@stephentoub
stephentoub merged commit 0204116 into dotnet:mainJun 12, 2025
@stephentoub
stephentoub deleted the chatoptionsinstructions branch June 12, 2025 21:24
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Jul 13, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-aiMicrosoft.Extensions.AI libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@stephentoub@eiriktsarpalis@rogerbarreto@markwallace-microsoft@westey-m