- 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:
125
config/specialists/SPIN_SPECIALIST/1.0.0.yaml
Normal file
125
config/specialists/SPIN_SPECIALIST/1.0.0.yaml
Normal file
@@ -0,0 +1,125 @@
|
||||
version: 1.0.0
|
||||
name: "Spin Sales Specialist"
|
||||
framework: "crewai"
|
||||
configuration:
|
||||
name:
|
||||
name: "name"
|
||||
type: "str"
|
||||
description: "The name the specialist is called upon."
|
||||
required: true
|
||||
company:
|
||||
name: "company"
|
||||
type: "str"
|
||||
description: "The name of your company. If not provided, your tenant's name will be used."
|
||||
required: false
|
||||
products:
|
||||
name: "products"
|
||||
type: "List[str]"
|
||||
description: "The products or services you're providing"
|
||||
required: false
|
||||
product_information:
|
||||
name: "product_information"
|
||||
type: "text"
|
||||
description: "Information on the products you are selling, such as ICP (Ideal Customer Profile), Pitch, ..."
|
||||
required: false
|
||||
engagement_options:
|
||||
name: "engagement_options"
|
||||
type: "text"
|
||||
description: "Engagement options such as email, phone number, booking link, ..."
|
||||
tenant_language:
|
||||
name: "tenant_language"
|
||||
type: "str"
|
||||
description: "The language code used for internal information. If not provided, the tenant's default language will be used"
|
||||
required: false
|
||||
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 or response to process"
|
||||
required: true
|
||||
identification:
|
||||
name: "identification"
|
||||
type: "text"
|
||||
description: "Initial identification information when available"
|
||||
required: false
|
||||
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:
|
||||
situation_information:
|
||||
name: "situation_information"
|
||||
type: "List[str]"
|
||||
description: "A list of situation descriptions"
|
||||
required: false
|
||||
problem_information:
|
||||
name: "problem_information"
|
||||
type: "List[str]"
|
||||
description: "A list of problems"
|
||||
required: false
|
||||
implication_information:
|
||||
name: "implication_information"
|
||||
type: "List[str]"
|
||||
description: "A list of implications"
|
||||
required: false
|
||||
needs_information:
|
||||
name: "needs_information"
|
||||
type: "List[str]"
|
||||
description: "A list of needs"
|
||||
required: false
|
||||
agents:
|
||||
- type: "RAG_AGENT"
|
||||
version: 1.0
|
||||
name: "Default RAG Agent" # Just added as an example. Overwrites the default agent name.
|
||||
description: "An Agent that does RAG based on a user's question, RAG content & history" # Just added as an example. Overwrites the default agent description.
|
||||
- type: "SPIN_DETECTION_AGENT"
|
||||
version: 1.0
|
||||
- type: "SPIN_SALES_SPECIALIST_AGENT"
|
||||
version: 1.0
|
||||
- type: "IDENTIFICATION_AGENT"
|
||||
version: 1.0
|
||||
- type: "EMAIL_CONTENT_AGENT"
|
||||
version: 1.0
|
||||
- type: "EMAIL_LEAD_ENGAGEMENT"
|
||||
version: 1.0
|
||||
tasks:
|
||||
- type: "RAG_TASK"
|
||||
version: 1.0
|
||||
- type: "SPIN_DETECT_TASK"
|
||||
version: 1.0
|
||||
- type: "SPIN_QUESTIONS_TASK"
|
||||
version: 1.0
|
||||
- type: "IDENTIFICATION_DETECTION_TASK"
|
||||
version: 1.0
|
||||
- type: "IDENTIFICATION_QUESTIONS_TASK"
|
||||
version: 1.0
|
||||
- type: "EMAIL_LEAD_DRAFTING"
|
||||
version: 1.0
|
||||
- type: "EMAIL_LEAD_ENGAGEMENT"
|
||||
version: 1.0
|
||||
metadata:
|
||||
author: "Josako"
|
||||
date_added: "2025-01-08"
|
||||
changes: "Initial version"
|
||||
51
config/specialists/STANDARD_RAG/1.0.0.yaml
Normal file
51
config/specialists/STANDARD_RAG/1.0.0.yaml
Normal file
@@ -0,0 +1,51 @@
|
||||
version: 1.0.0
|
||||
name: "Standard RAG Specialist"
|
||||
framework: "langchain"
|
||||
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
|
||||
metadata:
|
||||
author: "Josako"
|
||||
date_added: "2025-01-08"
|
||||
changes: "Initial version"
|
||||
Reference in New Issue
Block a user