NeuralNotwork commited on
Commit
125d707
·
verified ·
1 Parent(s): 904a985

Update Interestingness.py

Browse files
Files changed (1) hide show
  1. result_types/Interestingness.py +12 -0
result_types/Interestingness.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Template for custom function or Pydantic model."""
2
+
3
+ from pydantic import BaseModel
4
+ from pydantic import Field
5
+
6
+
7
+ class Interestingness(BaseModel):
8
+ """My model."""
9
+
10
+ title: str = Field(..., description="The title of the entry")
11
+ uninteresting: bool = Field(..., description="Whether the entry is uninteresting")
12
+