Spaces:
Sleeping
Sleeping
Update app/schemas.py
Browse files- app/schemas.py +5 -0
app/schemas.py
CHANGED
|
@@ -30,6 +30,11 @@ class SarcasmRequest(BaseModel):
|
|
| 30 |
text: str = Field(min_length=1, max_length=5000)
|
| 31 |
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
class EmbeddingRequest(BaseModel):
|
| 34 |
input: list[str] = Field(
|
| 35 |
min_length=1,
|
|
|
|
| 30 |
text: str = Field(min_length=1, max_length=5000)
|
| 31 |
|
| 32 |
|
| 33 |
+
class AbsaRequest(BaseModel):
|
| 34 |
+
text: str = Field(min_length=1, max_length=5000)
|
| 35 |
+
aspect: str = Field(min_length=1, max_length=100)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
class EmbeddingRequest(BaseModel):
|
| 39 |
input: list[str] = Field(
|
| 40 |
min_length=1,
|