Spaces:
Sleeping
Sleeping
File size: 490 Bytes
679f269 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from typing import List, Tuple, Any
from pydantic import BaseModel, Field
class AutoRetrieveModel(BaseModel):
query: str = Field(..., description="natural language query string")
filter_key_list: List[str] = Field(
..., description="List of metadata filter field names"
)
filter_value_list: List[str] = Field(
...,
description=(
"List of metadata filter field values (corresponding to names specified in filter_key_list)"
)
) |