Files
confident-ai--deepeval/deepeval/optimizer/rewriter/schema.py
T
2026-07-13 13:32:05 +08:00

8 lines
181 B
Python

from pydantic import BaseModel
from typing import Union, List, Dict
class RewriterSchema(BaseModel):
thought_process: str
revised_prompt: Union[str, List[Dict[str, str]]]