vectordb-genai-101/chat-app-code/backend/models/search_models.py (
4
lines of code) (
raw
):
from pydantic import BaseModel class SearchQuery(BaseModel): query: str context_type: str # This matches the payload from the frontend correctly now