Skip to content

DRAFT Remove Labels From Message Piece#1

Draft
behnam-o wants to merge 1 commit intousers/behnam/attack-result-labelsfrom
dev/remove-message-piece-labels
Draft

DRAFT Remove Labels From Message Piece#1
behnam-o wants to merge 1 commit intousers/behnam/attack-result-labelsfrom
dev/remove-message-piece-labels

Conversation

@behnam-o
Copy link
Copy Markdown
Owner

No description provided.


@property
def labels(self) -> dict[str, str]:
"""Labels associated with this message piece, hydrated by the memory layer."""
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Add a comment that they're associated with a conversation?

conversation_id: str,
sequence: int,
labels: Optional[dict[str, str]] = None,
) -> PyritMessagePiece:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Just verifying; this is after labels are on AttackResult right?

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.

2 participants