Update Documentation

This commit is contained in:
Jason Liu
2024-02-05 20:40:50 -05:00
parent d47637cefa
commit b8df2becde
15 changed files with 104 additions and 685 deletions
+3
View File
@@ -76,6 +76,9 @@ assert prediction.class_label == Labels.SPAM
For multi-label classification, we introduce a new enum class and a different Pydantic model to handle multiple labels.
```python
from typing import List
import enum
# Define Enum class for multiple labels
class MultiLabels(str, enum.Enum):
TECH_ISSUE = "tech_issue"