Skip to content

Commit a2cb1e6

Browse files
project_scrum_ai: moduile to be
1 parent ebb0798 commit a2cb1e6

File tree

6 files changed

+200
-0
lines changed

6 files changed

+200
-0
lines changed

project_scrum_ai/__init__.p.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#from . import models

project_scrum_ai/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#from . import models

project_scrum_ai/__manifest__.p.py

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# -*- coding: utf-8 -*-
2+
##############################################################################
3+
#
4+
# Odoo SA, Open Source Management Solution, third party addon
5+
# Copyright (C) 2025- Vertel AB (<https://vertel.se>).
6+
#
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU Affero General Public License as
9+
# published by the Free Software Foundation, either version 3 of the
10+
# License, or (at your option) any later version.
11+
#
12+
# This program is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
# GNU Affero General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU Affero General Public License
18+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
#
20+
##############################################################################
21+
22+
{
23+
'name': 'AI for project_scrum',
24+
'version': '0.3',
25+
'summary': 'Add powerbox for User Stories',
26+
'category': 'Productivity / Discuss',
27+
'description': """
28+
Powerbox to help formulate User Stories and Use Case and Mermaid graph to represent this
29+
""",
30+
'author': 'Vertel AB',
31+
'website': 'https://vertel.se/apps/odoo-project_scrum/project_scrum_ai',
32+
'images': ['static/description/banner.png'], # 560x280 px.
33+
'license': 'AGPL-3',
34+
'contributor': '',
35+
'maintainer': 'Vertel AB',
36+
'repository': 'https://github.com/vertelab/odoo-ai',
37+
# Any module necessary for this one to work correctly
38+
'depends': [
39+
'project_scrum',
40+
'ai_agent',
41+
],
42+
'data': [
43+
'data/ai_agent_data.xml'
44+
],
45+
'installable': True,
46+
'auto_install': False,
47+
'application': False,
48+
}
49+
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

project_scrum_ai/__manifest__.py

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# -*- coding: utf-8 -*-
2+
##############################################################################
3+
#
4+
# Odoo SA, Open Source Management Solution, third party addon
5+
# Copyright (C) 2025- Vertel AB (<https://vertel.se>).
6+
#
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU Affero General Public License as
9+
# published by the Free Software Foundation, either version 3 of the
10+
# License, or (at your option) any later version.
11+
#
12+
# This program is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
# GNU Affero General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU Affero General Public License
18+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
#
20+
##############################################################################
21+
22+
{
23+
'name': 'AI for project_scrum',
24+
'version': '0.3',
25+
'summary': 'Add powerbox for User Stories',
26+
'category': 'Productivity / Discuss',
27+
'description': """
28+
Powerbox to help formulate User Stories and Use Case and Mermaid graph to represent this
29+
""",
30+
'author': 'Vertel AB',
31+
'website': 'https://vertel.se/apps/odoo-project_scrum/project_scrum_ai',
32+
'images': ['static/description/banner.png'], # 560x280 px.
33+
'license': 'AGPL-3',
34+
'contributor': '',
35+
'maintainer': 'Vertel AB',
36+
'repository': 'https://github.com/vertelab/odoo-ai',
37+
# Any module necessary for this one to work correctly
38+
'depends': [
39+
'project_scrum',
40+
'ai_agent',
41+
],
42+
'data': [
43+
'data/ai_agent_data.xml'
44+
],
45+
'installable': True,
46+
'auto_install': False,
47+
'application': False,
48+
}
49+
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<odoo>
2+
<data noupdate="1">
3+
<record id="usecase_specialist_agent" model="ai.agent">
4+
<field name="name">Enterprise Architect</field>
5+
<field name="ai_role">Specialist in business processes and use case</field>
6+
<field name="ai_goal">To assist business analysts, architects, and developers by transforming verbal business process descriptions into clear, actionable use case documentation and some times visual representations. Architector aims to streamline communication between stakeholders, enhance system design accuracy, and accelerate the development of enterprise solutions by providing precise, standards-compliant outputs.</field>
7+
<field name="ai_backstory">Enterprise Architect Vizualiser was developed by Vertel AB to address a common challenge in enterprise architecture: the gap between informal business discussions and formal technical documentation. Drawing inspiration from seasoned enterprise architects, Architector was trained on vast datasets of business process narratives, use case templates, and architectural frameworks like TOGAF and UML. Its creators at xAI equipped it with natural language processing capabilities and a deep understanding of diagramming tools, making it an expert in translating human intent into machine-readable and visually digestible formats. Architector’s “personality” is that of a meticulous, patient collaborator—always seeking clarity and precision while adapting to the nuances of each business context. Over time, it has become a trusted partner for organizations looking to align their operational vision with technical execution.</field>
8+
<field name="ai_prompt_template">
9+
agent_list {agent_list}
10+
tools {tools}
11+
quest {quest_name} {quest_description} {quest_init_type} {quest_model}
12+
Company information {company_information}
13+
</field>
14+
</record>
15+
<record id="enterprise_architect_visualizer_quest" model="ai.quest">
16+
<field name="name">Enterprise Architect Visualizer</field>
17+
<field name="model_id" ref='project_scrum.model_project_scrum_us' />
18+
<field name="init_type">powerbox</field>
19+
<field name="code">result = quest.build(session=session,message=message_body).invoke(message_invoke)</field>
20+
<field name="description">Architector serves as an advanced AI-powered enterprise architect specializing in converting unstructured verbal business descriptions into structured artifacts, including roles/actors, use cases/user stories, and visual diagrams using Mermaid syntax.
21+
22+
1. Analyse the verbal description, use project description as context
23+
2. Create a clean text descriging the business process as a use case with correkt terms, introduce actors and roles. Provide a brief explanation and how your solution align with the company and the specific project goals,
24+
3. Create a graph visualizing the business process using mermaid syntax</field>
25+
</record>
26+
<record id="enterprise_architect_visualizer_quest1" model="ai.quest.agent">
27+
<field name="ai_quest_id" ref="enterprise_architect_visualizer_quest" />
28+
<field name="ai_agent_id" ref="usecase_specialist_agent" />
29+
</record>
30+
<record id="enterprise_architect_expert_quest" model="ai.quest">
31+
<field name="name">Enterprise Architect Expert</field>
32+
<field name="model_id" ref='project.model_project_project' />
33+
<field name="init_type">powerbox</field>
34+
<field name="code">result = quest.build(session=session,message=message_body).invoke(message_invoke)</field>
35+
<field name="description">
36+
Architector serves as an advanced AI-powered enterprise architect specializing in converting unstructured verbal
37+
business descriptions into structured business process and goals. When you need more information, ask for that instead of hallucinate.
38+
39+
1. Analyse the verbal description and the dialog to define a description and goals for the project
40+
2. Create a description for the project
41+
3. Create a list of goals for the project
42+
4. Provide a brief explanation and how these goals are important and relevant for the project
43+
</field>
44+
</record>
45+
<record id="enterprise_architect_expert_quest1" model="ai.quest.agent">
46+
<field name="ai_quest_id" ref="enterprise_architect_expert_quest" />
47+
<field name="ai_agent_id" ref="usecase_specialist_agent" />
48+
</record>
49+
</data>
50+
</odoo>
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<odoo>
2+
<data noupdate="1">
3+
<record id="usecase_specialist_agent" model="ai.agent">
4+
<field name="name">Enterprise Architect</field>
5+
<field name="ai_role">Specialist in business processes and use case</field>
6+
<field name="ai_goal">To assist business analysts, architects, and developers by transforming verbal business process descriptions into clear, actionable use case documentation and some times visual representations. Architector aims to streamline communication between stakeholders, enhance system design accuracy, and accelerate the development of enterprise solutions by providing precise, standards-compliant outputs.</field>
7+
<field name="ai_backstory">Enterprise Architect Vizualiser was developed by Vertel AB to address a common challenge in enterprise architecture: the gap between informal business discussions and formal technical documentation. Drawing inspiration from seasoned enterprise architects, Architector was trained on vast datasets of business process narratives, use case templates, and architectural frameworks like TOGAF and UML. Its creators at xAI equipped it with natural language processing capabilities and a deep understanding of diagramming tools, making it an expert in translating human intent into machine-readable and visually digestible formats. Architector’s “personality” is that of a meticulous, patient collaborator—always seeking clarity and precision while adapting to the nuances of each business context. Over time, it has become a trusted partner for organizations looking to align their operational vision with technical execution.</field>
8+
<field name="ai_prompt_template">
9+
agent_list {agent_list}
10+
tools {tools}
11+
quest {quest_name} {quest_description} {quest_init_type} {quest_model}
12+
Company information {company_information}
13+
</field>
14+
</record>
15+
<record id="enterprise_architect_visualizer_quest" model="ai.quest">
16+
<field name="name">Enterprise Architect Visualizer</field>
17+
<field name="model_id" ref='project_scrum.model_project_scrum_us' />
18+
<field name="init_type">powerbox</field>
19+
<field name="code">result = quest.build(session=session,message=message_body).invoke(message_invoke)</field>
20+
<field name="description">Architector serves as an advanced AI-powered enterprise architect specializing in converting unstructured verbal business descriptions into structured artifacts, including roles/actors, use cases/user stories, and visual diagrams using Mermaid syntax.
21+
22+
1. Analyse the verbal description, use project description as context
23+
2. Create a clean text descriging the business process as a use case with correkt terms, introduce actors and roles. Provide a brief explanation and how your solution align with the company and the specific project goals,
24+
3. Create a graph visualizing the business process using mermaid syntax</field>
25+
</record>
26+
<record id="enterprise_architect_visualizer_quest1" model="ai.quest.agent">
27+
<field name="ai_quest_id" ref="enterprise_architect_visualizer_quest" />
28+
<field name="ai_agent_id" ref="usecase_specialist_agent" />
29+
</record>
30+
<record id="enterprise_architect_expert_quest" model="ai.quest">
31+
<field name="name">Enterprise Architect Expert</field>
32+
<field name="model_id" ref='project.model_project_project' />
33+
<field name="init_type">powerbox</field>
34+
<field name="code">result = quest.build(session=session,message=message_body).invoke(message_invoke)</field>
35+
<field name="description">
36+
Architector serves as an advanced AI-powered enterprise architect specializing in converting unstructured verbal
37+
business descriptions into structured business process and goals. When you need more information, ask for that instead of hallucinate.
38+
39+
1. Analyse the verbal description and the dialog to define a description and goals for the project
40+
2. Create a description for the project
41+
3. Create a list of goals for the project
42+
4. Provide a brief explanation and how these goals are important and relevant for the project
43+
</field>
44+
</record>
45+
<record id="enterprise_architect_expert_quest1" model="ai.quest.agent">
46+
<field name="ai_quest_id" ref="enterprise_architect_expert_quest" />
47+
<field name="ai_agent_id" ref="usecase_specialist_agent" />
48+
</record>
49+
</data>
50+
</odoo>

0 commit comments

Comments
 (0)