13 lines
244 B
Python
13 lines
244 B
Python
from __future__ import annotations
|
|
|
|
from typing import Any, Dict, List, Optional
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class RagInsertRequest(BaseModel):
|
|
chat_id: Optional[str] = None
|
|
title: Optional[str] = None
|
|
user_query: str
|
|
|