Skip to content

DOC: Guidance for serializing model metadata - #2435

Open
Richard Lundeen (rlundeen2) wants to merge 1 commit into
microsoft:mainfrom
rlundeen2:rlundeen2-message-metadata-standard
Open

DOC: Guidance for serializing model metadata#2435
Richard Lundeen (rlundeen2) wants to merge 1 commit into
microsoft:mainfrom
rlundeen2:rlundeen2-message-metadata-standard

Conversation

@rlundeen2

Copy link
Copy Markdown
Contributor

Summary

  • define where metadata belongs across PyRIT models
  • prefer explicit typed fields for stable or queried data
  • use model-owned to_metadata() and from_metadata() methods for shared metadata semantics

Uses JsonResponseConfig and MessagePiece.prompt_metadata as the reference pattern.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9b95a2c8-cdc2-4e94-9776-cbea2a2b41ff
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.

1 participant