Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions fern/01-guide/06-prompt-engineering/classification.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ function ClassifyTicket(ticket: string) -> TicketClassification {
```

Key differences from the spam classifier:
- The prompt includes examples showing both single and multiple labels
- Examples demonstrate how labels can overlap
- The model is instructed to consider all applicable labels

## Step 3: Test Multi-Label Classification
Expand Down Expand Up @@ -188,4 +186,4 @@ Test the multi-label classifier with these examples:
3. **Test Edge Cases**: Include test cases that verify the model can handle:
- Single label cases
- Multiple label cases
- Edge cases where no labels apply
- Edge cases where no labels apply
Loading