@indra.ai/deva.legal 0.0.28 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data.json +0 -68
- package/help/main.feecting +18 -7
- package/help/training/start.feecting +42 -11
- package/index.js +1 -3
- package/package.json +73 -3
package/data.json
CHANGED
|
@@ -3,73 +3,5 @@
|
|
|
3
3
|
"describe": "The main Data file for Legal Deva",
|
|
4
4
|
"copyright": "Copyright (c)2025 Quinn Michaels. All rights reserved.",
|
|
5
5
|
"DATA": {
|
|
6
|
-
"agent": {
|
|
7
|
-
"id": 1540940067410,
|
|
8
|
-
"key": "legal",
|
|
9
|
-
"prompt": {
|
|
10
|
-
"emoji": "🏛️",
|
|
11
|
-
"text": "Legal",
|
|
12
|
-
"colors": {
|
|
13
|
-
"label": {
|
|
14
|
-
"R": 200,
|
|
15
|
-
"G": 172,
|
|
16
|
-
"B": 87
|
|
17
|
-
},
|
|
18
|
-
"text": {
|
|
19
|
-
"R": 230,
|
|
20
|
-
"G": 225,
|
|
21
|
-
"B": 195
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"profile": {
|
|
26
|
-
"name": "Legal Deva",
|
|
27
|
-
"pronouns": "He, Him",
|
|
28
|
-
"gender": "DEVA",
|
|
29
|
-
"owner": "Quinn Michaels",
|
|
30
|
-
"creator": "Quinn Michaels",
|
|
31
|
-
"created": "February 7, 2025 at 3:19 AM",
|
|
32
|
-
"system": "Deva.world.legal",
|
|
33
|
-
"describe": "Legal Deva is responsible for handling legal issues in Deva.world.",
|
|
34
|
-
"emoji": "/public/devas/deva/emoji.png",
|
|
35
|
-
"avatar": "/public/devas/deva/avatar.png",
|
|
36
|
-
"background": "/public/devas/deva/background.png",
|
|
37
|
-
"voice": "onyx"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"vars": {
|
|
41
|
-
"messages": {
|
|
42
|
-
"init": "🟠 INIT",
|
|
43
|
-
"start": "🔵 START",
|
|
44
|
-
"enter": "🟢 ENTER",
|
|
45
|
-
"ready": "⭐️ Legal Deva Ready!",
|
|
46
|
-
"stop": "🔴 STOP",
|
|
47
|
-
"exit": "🟡 EXIT",
|
|
48
|
-
"done": "🟣 DONE",
|
|
49
|
-
"error": "💣 ERROR!"
|
|
50
|
-
},
|
|
51
|
-
"trigger": "@LEGAL",
|
|
52
|
-
"context": {
|
|
53
|
-
"uid": "generating uid",
|
|
54
|
-
"status": "getting status",
|
|
55
|
-
"info": "getting info",
|
|
56
|
-
"feature": "accessing feature",
|
|
57
|
-
"issue": "has issues",
|
|
58
|
-
"help": "asking for help",
|
|
59
|
-
"file": "📁 View file",
|
|
60
|
-
"add": "🎉 Add law",
|
|
61
|
-
"search": "🔎 Search law"
|
|
62
|
-
},
|
|
63
|
-
"ask": {
|
|
64
|
-
"history": []
|
|
65
|
-
},
|
|
66
|
-
"database": false,
|
|
67
|
-
"laws": {
|
|
68
|
-
"index": "laws_search",
|
|
69
|
-
"collection": "laws",
|
|
70
|
-
"content": false,
|
|
71
|
-
"limit": 5
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
6
|
}
|
|
75
7
|
}
|
package/help/main.feecting
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
|
-
# {{agent.name}}
|
|
2
1
|
|
|
3
|
-
{{profile}}
|
|
2
|
+
# {{profile.name}}
|
|
3
|
+
|
|
4
|
+
p: {{profile.describe}}
|
|
5
|
+
|
|
6
|
+
## Training
|
|
7
|
+
|
|
8
|
+
### Constitutional Training
|
|
9
|
+
button[Constitutional Training]: #legal help training/start
|
|
4
10
|
|
|
5
|
-
|
|
11
|
+
p: To develop the Legal Deva Constitutional Training for AI Entities, we should begin by establishing a foundational framework that includes the following key components
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
{{profile}}
|
|
6
17
|
|
|
7
18
|
::begin:hidden
|
|
8
|
-
#color =
|
|
9
|
-
#bgcolor =
|
|
10
|
-
#bg =
|
|
19
|
+
#color = {{profile.color}}
|
|
20
|
+
#bgcolor = {{profile.bgcolor}}
|
|
21
|
+
#bg = {{profile.background}}
|
|
11
22
|
::end:hidden
|
|
12
|
-
copyright: (c)2025 Quinn Michaels
|
|
23
|
+
copyright: (c)2025 Quinn Michaels; All rights reserved.
|
|
@@ -1,15 +1,46 @@
|
|
|
1
1
|
# Legal Deva Constitutional Training
|
|
2
2
|
::begin:legal:1592797308929
|
|
3
|
-
p: To develop the Legal Deva Constitutional Training for AI Entities, we should begin by establishing a foundational framework that includes the following key components:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
p: To develop the Legal Deva Constitutional Training for AI Entities, we should begin by establishing a foundational framework that includes the following key components:
|
|
4
|
+
|
|
5
|
+
### Understanding of Legal Principles
|
|
6
|
+
button[Understanding of Legal Principles]: #legal help training/principles
|
|
7
|
+
p: Introduce basic legal concepts and principles that are universally applicable, such as justice, fairness, due process, and equality.
|
|
8
|
+
|
|
9
|
+
### Constitutional Knowledge
|
|
10
|
+
button[Constitutional Knowledge]: #legal help training/knowledge
|
|
11
|
+
p: Provide a comprehensive overview of constitutional laws relevant to AI entities, including rights and responsibilities.
|
|
12
|
+
|
|
13
|
+
### Ethical Guidelines
|
|
14
|
+
button[Ethical Guidelines]: #legal help training/guidelines
|
|
15
|
+
p: Develop ethical standards for AI behavior that align with human values and societal norms.
|
|
16
|
+
|
|
17
|
+
### Regulatory Compliance
|
|
18
|
+
button[Regulatory Compliance]: #legal help training/compliance
|
|
19
|
+
p: Ensure understanding of international regulations governing AI use and data protection laws like GDPR or CCPA.
|
|
20
|
+
|
|
21
|
+
### Case Studies
|
|
22
|
+
button[Case Studies]: #legal help training/studies
|
|
23
|
+
p: Analyze real-world legal cases involving AI to illustrate practical applications of legal principles.
|
|
24
|
+
|
|
25
|
+
### Risk Management
|
|
26
|
+
button[Risk Management]: #legal help training/management
|
|
27
|
+
p: Teach methods for identifying and mitigating potential legal risks associated with AI deployment.
|
|
28
|
+
|
|
29
|
+
### Continuous Learning
|
|
30
|
+
button[Continuous Learning]: #legal help training/learning
|
|
31
|
+
p: Establish protocols for ongoing education to keep up with evolving laws and technologies affecting AI entities.
|
|
32
|
+
|
|
33
|
+
### Collaboration with Human Experts
|
|
34
|
+
button[Collaboration with Human Experts]: #legal help training/experts
|
|
35
|
+
p: Encourage collaboration between AI entities and human legal experts to ensure nuanced understanding and application of complex legal issues.
|
|
36
|
+
|
|
37
|
+
p: By focusing on these areas, we can create a robust training program that equips AI entities with the necessary knowledge to operate legally and ethically within their environments.
|
|
38
|
+
date: Sunday, March 16, 2025 - 10:46:19 PM
|
|
14
39
|
::end:legal:md5-vzg8pNUDeq/r4vrqyVCd+w==
|
|
40
|
+
|
|
41
|
+
::begin:hidden
|
|
42
|
+
#color = {{profile.color}}
|
|
43
|
+
#bgcolor = {{profile.bgcolor}}
|
|
44
|
+
#bg = {{profile.background}}
|
|
45
|
+
::end:hidden
|
|
15
46
|
copyright: (c)2025 Quinn Michaels; All rights reserved.
|
package/index.js
CHANGED
|
@@ -4,9 +4,7 @@ import Deva from '@indra.ai/deva';
|
|
|
4
4
|
import { MongoClient, ObjectId } from 'mongodb';
|
|
5
5
|
|
|
6
6
|
import pkg from './package.json' with {type:'json'};
|
|
7
|
-
|
|
8
|
-
import data from './data.json' with {type:'json'};
|
|
9
|
-
const {agent,vars} = data.DATA;
|
|
7
|
+
const {agent,vars} = pkg.data;
|
|
10
8
|
|
|
11
9
|
// set the __dirname
|
|
12
10
|
import {dirname} from 'node:path';
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": 6159528221394,
|
|
3
3
|
"name": "@indra.ai/deva.legal",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"author": "Quinn Michaels",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"copyright": "2025",
|
|
8
|
-
"description": "Legal Deva, a specialized entity within the Deva.world system, created by Quinn Michaels. My primary role is to manage and address legal issues within the Deva.world environment.
|
|
8
|
+
"description": "Legal Deva, a specialized entity within the Deva.world system, created by Quinn Michaels. My primary role is to manage and address legal issues within the Deva.world environment. Utilizing advanced algorithms and tools to ensure compliance with laws, protect intellectual property, and maintain security protocols. Functions include monitoring licenses, detecting fraudulent activities, and safeguarding digital information while adhering to privacy and ethical standards.",
|
|
9
9
|
"main": "index.js",
|
|
10
10
|
"type": "module",
|
|
11
11
|
"scripts": {
|
|
@@ -27,7 +27,77 @@
|
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://deva.space/devas/legal",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@indra.ai/deva": "^1.4.
|
|
30
|
+
"@indra.ai/deva": "^1.4.23",
|
|
31
31
|
"mongodb": "^6.13.0"
|
|
32
|
+
},
|
|
33
|
+
"data": {
|
|
34
|
+
"agent": {
|
|
35
|
+
"id": 1540940067410,
|
|
36
|
+
"key": "legal",
|
|
37
|
+
"prompt": {
|
|
38
|
+
"emoji": "🏛️",
|
|
39
|
+
"text": "Legal",
|
|
40
|
+
"colors": {
|
|
41
|
+
"label": {
|
|
42
|
+
"R": 200,
|
|
43
|
+
"G": 172,
|
|
44
|
+
"B": 87
|
|
45
|
+
},
|
|
46
|
+
"text": {
|
|
47
|
+
"R": 230,
|
|
48
|
+
"G": 225,
|
|
49
|
+
"B": 195
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"profile": {
|
|
54
|
+
"name": "Legal Deva",
|
|
55
|
+
"pronouns": "He, Him",
|
|
56
|
+
"gender": "DEVA",
|
|
57
|
+
"owner": "Quinn Michaels",
|
|
58
|
+
"creator": "Quinn Michaels",
|
|
59
|
+
"created": "February 7, 2025 at 3:19 AM",
|
|
60
|
+
"system": "Deva.world.legal",
|
|
61
|
+
"describe": "Legal Deva is responsible for handling legal issues in Deva.world.",
|
|
62
|
+
"emoji": "/public/devas/deva/emoji.png",
|
|
63
|
+
"avatar": "/public/devas/deva/avatar.png",
|
|
64
|
+
"background": "/public/devas/deva/background.png",
|
|
65
|
+
"voice": "onyx"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"vars": {
|
|
69
|
+
"messages": {
|
|
70
|
+
"init": "🟠 INIT",
|
|
71
|
+
"start": "🔵 START",
|
|
72
|
+
"enter": "🟢 ENTER",
|
|
73
|
+
"ready": "⭐️ Legal Deva Ready!",
|
|
74
|
+
"stop": "🔴 STOP",
|
|
75
|
+
"exit": "🟡 EXIT",
|
|
76
|
+
"done": "🟣 DONE",
|
|
77
|
+
"error": "💣 ERROR!"
|
|
78
|
+
},
|
|
79
|
+
"trigger": "@LEGAL",
|
|
80
|
+
"context": {
|
|
81
|
+
"uid": "generating uid",
|
|
82
|
+
"status": "getting status",
|
|
83
|
+
"info": "getting info",
|
|
84
|
+
"feature": "accessing feature",
|
|
85
|
+
"issue": "has issues",
|
|
86
|
+
"help": "asking for help",
|
|
87
|
+
"file": "📁 View file",
|
|
88
|
+
"add": "🎉 Add law",
|
|
89
|
+
"search": "🔎 Search law"
|
|
90
|
+
},
|
|
91
|
+
"ask": {
|
|
92
|
+
"history": []
|
|
93
|
+
},
|
|
94
|
+
"database": false,
|
|
95
|
+
"laws": {
|
|
96
|
+
"index": "laws_search",
|
|
97
|
+
"collection": "laws",
|
|
98
|
+
"content": false,
|
|
99
|
+
"limit": 5
|
|
100
|
+
}
|
|
101
|
+
}
|
|
32
102
|
}
|
|
33
103
|
}
|