Wick-RAQA / AutoRetrieveModel.py
JFreemanBRG's picture
Initial Commit
679f269
raw
history blame contribute delete
490 Bytes
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)"
)
)