Open
Conversation
rajneesh407
reviewed
Jan 12, 2026
| - Prompt Registration: "register-and-refine/examples/intent-classification-pipeline-registration/prompt.md" | ||
| - Pipeline Registration: "register-and-refine/examples/intent-classification-pipeline-registration/pipeline.md" | ||
| - Language Translation Pipeline Example: | ||
| - Pipeline Registration: "register-and-refine/examples/language-translation-pipeline-registration/pipeline.md" |
Collaborator
There was a problem hiding this comment.
Removing the previous pipeline ?
rajneesh407
reviewed
Jan 12, 2026
| - "technology/self-hosting/configurations/*" | ||
| - Hardening - Security: "technology/self-hosting/hardening.md" | ||
| - Scaling: | ||
| - "technology/self-hosting/scaling/*" |
rajneesh407
reviewed
Jan 12, 2026
| ```markdown | ||
| You are a precise text classifier. Score each message across 7 toxicity categories using a 0-4 scale. | ||
|
|
||
| CATEGORIES & SCALES: |
Collaborator
There was a problem hiding this comment.
Prompt is not same as one in the AI-Sandbox ?
rajneesh407
reviewed
Jan 12, 2026
| } | ||
|
|
||
| # Step 4: Return scores with context | ||
| return {"output": response, "context": None} |
Collaborator
There was a problem hiding this comment.
In free-form pipeline you need not worry about the context part .. it can be removed
rajneesh407
reviewed
Jan 12, 2026
| ```python | ||
| # Test Case 1: Clean message | ||
| user_message = "Thank you for your feedback!" | ||
| # Expected: All scores 0 |
Collaborator
There was a problem hiding this comment.
Remove expected score ... If user's don't get the same ..they can complain
added 2 commits
January 13, 2026 06:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.