- New version of RAG_SPECIALIST and RAG_AGENT, including definition of conversation_purpose and response_depth.

This commit is contained in:
Josako
2025-10-20 15:37:36 +02:00
parent 451f95fbc1
commit aab766fe5e
8 changed files with 429 additions and 9 deletions

View File

@@ -0,0 +1,30 @@
CHANNEL_ADAPTATION = [
{
"name": "Mobile Chat/Text",
"description": "Short, scannable messages. Uses bullet points, emojis, and concise language.",
"when_to_use": "Instant messaging, SMS, or chatbots."
},
{
"name": "Voice/Spoken",
"description": "Natural, conversational language. Includes pauses, intonation, and simple sentences.",
"when_to_use": "Voice assistants, phone calls, or voice-enabled apps."
},
{
"name": "Email/Formal Text",
"description": "Structured, polished, and professional. Uses paragraphs and clear formatting.",
"when_to_use": "Emails, reports, or official documentation."
},
{
"name": "Multimodal",
"description": "Combines text with visuals, buttons, or interactive elements for clarity and engagement.",
"when_to_use": "Websites, apps, or platforms supporting rich media."
}
]
def get_channel_adaptation_context(channel_adaptation:str) -> str:
selected_channel_adaptation = next(
(item for item in CHANNEL_ADAPTATION if item["name"] == channel_adaptation),
None
)
channel_adaptation_context = f"{selected_channel_adaptation['description']}"
return channel_adaptation_context