Files
eveAI/eveai_chat_workers/outputs/rag/rag_v1_0.py
2025-04-22 13:49:38 +02:00

10 lines
296 B
Python

from typing import List, Optional
from pydantic import BaseModel, Field
class RAGOutput(BaseModel):
answer: str = Field(None, description="Answer to the questions asked")
insufficient_info: bool = Field(None, description="An indication if there's insufficient information to answer")