- Add configuration of agents, tasks, tools, specialist in context of SPIN specialist
- correct startup of applications using gevent - introduce startup scripts (eveai_app) - caching manager for all configurations
This commit is contained in:
27
config/type_defs/agent_types.py
Normal file
27
config/type_defs/agent_types.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# Agent Types
|
||||
AGENT_TYPES = {
|
||||
"EMAIL_CONTENT_AGENT": {
|
||||
"name": "Email Content Agent",
|
||||
"description": "An Agent that writes engaging emails.",
|
||||
},
|
||||
"EMAIL_ENGAGEMENT_AGENT": {
|
||||
"name": "Email Engagement Agent",
|
||||
"description": "An Agent that ensures the email is engaging and lead to maximal desired action",
|
||||
},
|
||||
"IDENTIFICATION_AGENT": {
|
||||
"name": "Identification Agent",
|
||||
"description": "An Agent that gathers identification information",
|
||||
},
|
||||
"RAG_AGENT": {
|
||||
"name": "Rag Agent",
|
||||
"description": "An Agent that does RAG based on a user's question, RAG content & history",
|
||||
},
|
||||
"SPIN_DETECTION_AGENT": {
|
||||
"name": "SPIN Sales Assistant",
|
||||
"description": "An Agent that detects SPIN information in an ongoing conversation",
|
||||
},
|
||||
"SPIN_SALES_SPECIALIST_AGENT": {
|
||||
"name": "SPIN Sales Specialist",
|
||||
"description": "An Agent that asks for Follow-up questions for SPIN-process",
|
||||
},
|
||||
}
|
||||
@@ -8,4 +8,8 @@ SERVICE_TYPES = {
|
||||
"name": "DOCAPI",
|
||||
"description": "Service allows to use document API functionality.",
|
||||
},
|
||||
"DEPLOY_API": {
|
||||
"name": "DEPLOY_API",
|
||||
"description": "Service allows to use deployment API functionality.",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,60 +3,9 @@ SPECIALIST_TYPES = {
|
||||
"STANDARD_RAG": {
|
||||
"name": "Q&A RAG Specialist",
|
||||
"description": "Standard Q&A through RAG Specialist",
|
||||
"configuration": {
|
||||
"specialist_context": {
|
||||
"name": "Specialist Context",
|
||||
"type": "text",
|
||||
"description": "The context to be used by the specialist.",
|
||||
"required": False,
|
||||
},
|
||||
"temperature": {
|
||||
"name": "Temperature",
|
||||
"type": "number",
|
||||
"description": "The inference temperature to be used by the specialist.",
|
||||
"required": False,
|
||||
"default": 0.3
|
||||
}
|
||||
},
|
||||
"arguments": {
|
||||
"language": {
|
||||
"name": "Language",
|
||||
"type": "str",
|
||||
"description": "Language code to be used for receiving questions and giving answers",
|
||||
"required": True,
|
||||
},
|
||||
"query": {
|
||||
"name": "query",
|
||||
"type": "str",
|
||||
"description": "Query to answer",
|
||||
"required": True,
|
||||
}
|
||||
},
|
||||
"results": {
|
||||
"detailed_query": {
|
||||
"name": "detailed_query",
|
||||
"type": "str",
|
||||
"description": "The query detailed with the Chat Session History.",
|
||||
"required": True,
|
||||
},
|
||||
"answer": {
|
||||
"name": "answer",
|
||||
"type": "str",
|
||||
"description": "Answer to the query",
|
||||
"required": True,
|
||||
},
|
||||
"citations": {
|
||||
"name": "citations",
|
||||
"type": "List[str]",
|
||||
"description": "List of citations",
|
||||
"required": False,
|
||||
},
|
||||
"insufficient_info": {
|
||||
"name": "insufficient_info",
|
||||
"type": "bool",
|
||||
"description": "Whether or not the query is insufficient info",
|
||||
"required": True,
|
||||
},
|
||||
}
|
||||
},
|
||||
"SPIN_SPECIALIST": {
|
||||
"name": "Spin Sales Specialist",
|
||||
"description": "A specialist that allows to answer user queries, try to get SPIN-information and Identification",
|
||||
}
|
||||
}
|
||||
31
config/type_defs/task_types.py
Normal file
31
config/type_defs/task_types.py
Normal file
@@ -0,0 +1,31 @@
|
||||
# Agent Types
|
||||
TASK_TYPES = {
|
||||
"EMAIL_LEAD_DRAFTING_TASK": {
|
||||
"name": "Email Lead Draft Creation",
|
||||
"description": "Email Drafting Task towards a Lead",
|
||||
},
|
||||
"EMAIL_LEAD_ENGAGEMENT_TASK": {
|
||||
"name": "Email Lead Engagement Creation",
|
||||
"description": "Make an Email draft more engaging",
|
||||
},
|
||||
"IDENTIFICATION_DETECTION_TASK": {
|
||||
"name": "Identification Gathering",
|
||||
"description": "A Task that gathers identification information from a conversation",
|
||||
},
|
||||
"IDENTIFICATION_QUESTIONS_TASK": {
|
||||
"name": "Define Identification Questions",
|
||||
"description": "A Task to define identification (person & company) questions",
|
||||
},
|
||||
"RAG_TASK": {
|
||||
"name": "RAG Task",
|
||||
"description": "A Task that gives RAG-based answers",
|
||||
},
|
||||
"SPIN_DETECT_TASK": {
|
||||
"name": "SPIN Information Detection",
|
||||
"description": "A Task that performs SPIN Information Detection",
|
||||
},
|
||||
"SPIN_QUESTIONS_TASK": {
|
||||
"name": "SPIN Question Identification",
|
||||
"description": "A Task that identifies questions to complete the SPIN context in a conversation",
|
||||
},
|
||||
}
|
||||
4
config/type_defs/tool_types.py
Normal file
4
config/type_defs/tool_types.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# Agent Types
|
||||
TOOL_TYPES = {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user