- Refinement of the chat client to have better visible clues for user vs chatbot messages

- Introduction of interview_phase and normal phase in TRAICIE_SELECTION_SPECIALIST to make interaction with bot more human.
- More and random humanised messages to TRAICIE_SELECTION_SPECIALIST
This commit is contained in:
Josako
2025-08-02 16:36:41 +02:00
parent 998ddf4c03
commit 9a88582fff
50 changed files with 2064 additions and 384 deletions

View File

@@ -0,0 +1,12 @@
from typing import List, Optional
from pydantic import BaseModel, Field
class TraicieAdvancedRAGOutput(BaseModel):
mode: str = Field(..., description="The mode of execution (RAG or CHECK).")
answer: str = Field(None, description="Answer to the questions asked, when in RAG")
insufficient_info: bool = Field(None, description="An indication if there's insufficient information to answer, when in RAG")
affirmative_answer: bool = Field(None, description="An indication if the answer is affirmative (true) or negative (false), when in CHECK")

View File

@@ -0,0 +1,10 @@
from typing import List, Optional
from pydantic import BaseModel, Field
class TraicieAffirmativeAnswerOutput(BaseModel):
affirmative: bool = Field(..., description="Is the provided answer affirmative (true) or negative (false).")

View File

@@ -0,0 +1,10 @@
from typing import List, Optional
from pydantic import BaseModel, Field
class TraicieInterviewModeOutput(BaseModel):
mode: str = Field(..., description="Your answer: RAG or CHECK.")