evolutia 0.1.3__py3-none-any.whl → 0.1.4__py3-none-any.whl
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.
- evolutia/schemas/config.schema.json +210 -0
- evolutia/validation/__init__.py +2 -1
- {evolutia-0.1.3.dist-info → evolutia-0.1.4.dist-info}/METADATA +1 -1
- {evolutia-0.1.3.dist-info → evolutia-0.1.4.dist-info}/RECORD +8 -7
- {evolutia-0.1.3.dist-info → evolutia-0.1.4.dist-info}/WHEEL +0 -0
- {evolutia-0.1.3.dist-info → evolutia-0.1.4.dist-info}/entry_points.txt +0 -0
- {evolutia-0.1.3.dist-info → evolutia-0.1.4.dist-info}/licenses/LICENSE +0 -0
- {evolutia-0.1.3.dist-info → evolutia-0.1.4.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "Evolutia Configuration",
|
|
4
|
+
"description": "Configuration schema for Evolutia AI tool",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"api": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"default_provider": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"openai": {
|
|
14
|
+
"$ref": "#/definitions/modelConfig"
|
|
15
|
+
},
|
|
16
|
+
"anthropic": {
|
|
17
|
+
"$ref": "#/definitions/modelConfig"
|
|
18
|
+
},
|
|
19
|
+
"gemini": {
|
|
20
|
+
"$ref": "#/definitions/modelConfig"
|
|
21
|
+
},
|
|
22
|
+
"local": {
|
|
23
|
+
"allOf": [
|
|
24
|
+
{
|
|
25
|
+
"$ref": "#/definitions/modelConfig"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"properties": {
|
|
29
|
+
"base_url": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": [
|
|
38
|
+
"default_provider"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"paths": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"base_path": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
"materials_directories": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": [
|
|
55
|
+
"materials_directories"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"complexity": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"properties": {
|
|
61
|
+
"min_complexity_increase": {
|
|
62
|
+
"type": "number"
|
|
63
|
+
},
|
|
64
|
+
"min_improvements": {
|
|
65
|
+
"type": "integer"
|
|
66
|
+
},
|
|
67
|
+
"weights": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"patternProperties": {
|
|
70
|
+
"^.*$": {
|
|
71
|
+
"type": "number"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"exam": {
|
|
78
|
+
"type": "object",
|
|
79
|
+
"properties": {
|
|
80
|
+
"default": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"properties": {
|
|
83
|
+
"subject": {
|
|
84
|
+
"type": "string"
|
|
85
|
+
},
|
|
86
|
+
"points_per_exercise": {
|
|
87
|
+
"type": "integer"
|
|
88
|
+
},
|
|
89
|
+
"duration_hours": {
|
|
90
|
+
"type": "number"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"keywords": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"patternProperties": {
|
|
97
|
+
"^.*$": {
|
|
98
|
+
"type": "array",
|
|
99
|
+
"items": {
|
|
100
|
+
"type": "string"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"logging": {
|
|
108
|
+
"type": "object",
|
|
109
|
+
"properties": {
|
|
110
|
+
"level": {
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
"format": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"rag": {
|
|
119
|
+
"type": "object",
|
|
120
|
+
"properties": {
|
|
121
|
+
"vector_store": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"properties": {
|
|
124
|
+
"type": {
|
|
125
|
+
"type": "string"
|
|
126
|
+
},
|
|
127
|
+
"persist_directory": {
|
|
128
|
+
"type": "string"
|
|
129
|
+
},
|
|
130
|
+
"collection_name": {
|
|
131
|
+
"type": "string"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"required": [
|
|
135
|
+
"type"
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
"embeddings": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"properties": {
|
|
141
|
+
"provider": {
|
|
142
|
+
"type": "string"
|
|
143
|
+
},
|
|
144
|
+
"model": {
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"batch_size": {
|
|
148
|
+
"type": "integer"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"required": [
|
|
152
|
+
"provider",
|
|
153
|
+
"model"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
"retrieval": {
|
|
157
|
+
"type": "object",
|
|
158
|
+
"properties": {
|
|
159
|
+
"top_k": {
|
|
160
|
+
"type": "integer"
|
|
161
|
+
},
|
|
162
|
+
"similarity_threshold": {
|
|
163
|
+
"type": "number"
|
|
164
|
+
},
|
|
165
|
+
"use_metadata_filters": {
|
|
166
|
+
"type": "boolean"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"chunking": {
|
|
171
|
+
"type": "object",
|
|
172
|
+
"properties": {
|
|
173
|
+
"chunk_size": {
|
|
174
|
+
"type": "integer"
|
|
175
|
+
},
|
|
176
|
+
"chunk_overlap": {
|
|
177
|
+
"type": "integer"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"required": [
|
|
185
|
+
"api",
|
|
186
|
+
"paths"
|
|
187
|
+
],
|
|
188
|
+
"definitions": {
|
|
189
|
+
"modelConfig": {
|
|
190
|
+
"type": "object",
|
|
191
|
+
"properties": {
|
|
192
|
+
"model": {
|
|
193
|
+
"type": "string"
|
|
194
|
+
},
|
|
195
|
+
"temperature": {
|
|
196
|
+
"type": "number"
|
|
197
|
+
},
|
|
198
|
+
"max_tokens": {
|
|
199
|
+
"type": "integer"
|
|
200
|
+
},
|
|
201
|
+
"api_key": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"required": [
|
|
206
|
+
"model"
|
|
207
|
+
]
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
evolutia/validation/__init__.py
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
from .config_validator import ConfigValidator, ConfigValidationError
|
|
2
|
+
from .args_validator import ArgsValidator
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: evolutia
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Sistema automatizado para generar preguntas de examen desafiantes basadas en materiales didácticos existentes
|
|
5
5
|
Home-page: https://github.com/glacy/evolutIA
|
|
6
6
|
Author: Gerardo Lacy-Mora
|
|
@@ -22,16 +22,17 @@ evolutia/rag/enhanced_variation_generator.py,sha256=hFA60OW6-02d8HqluiDTgh7Apwkj
|
|
|
22
22
|
evolutia/rag/rag_indexer.py,sha256=Rg-PtvEJXW5IGo-nLh3h1TT51YXnbz9mwoifUTwUiZM,16732
|
|
23
23
|
evolutia/rag/rag_manager.py,sha256=ODfOiREv8OyQ7WfCdIOPmynJ6grckN6uLYjuECrt3LU,8071
|
|
24
24
|
evolutia/rag/rag_retriever.py,sha256=It8gB-dL0Ip2r2zCD5Oq_Hmc-C8fbCyrCLaNOghqhLw,14370
|
|
25
|
+
evolutia/schemas/config.schema.json,sha256=GzQxWpJeog5BMYlkEFkzzwk3UNVX0ndDyKRh6tvOafs,6481
|
|
25
26
|
evolutia/utils/__init__.py,sha256=rD3hl92fM5L3_7QCRrCjyR91bx_bOsw0baVQrCjy6vg,56
|
|
26
27
|
evolutia/utils/json_parser.py,sha256=71yA15bYCGkZ7pAhLoqoGuKTrFyAsjWDNEgG7rhsloo,3308
|
|
27
28
|
evolutia/utils/markdown_parser.py,sha256=LjMFMuq4liXaRVXBd6FsH1ZlfiFlO8Hryg-CNAgaYYk,5743
|
|
28
29
|
evolutia/utils/math_extractor.py,sha256=tKfzwnmj8Puw9w624bBAnRjgxr3my-O3a9UcIyi8XTk,5125
|
|
29
|
-
evolutia/validation/__init__.py,sha256=
|
|
30
|
+
evolutia/validation/__init__.py,sha256=TxFTXvjfbDaD26gIDy3XE7SEGdzwMV-aocX-OMs_wxE,111
|
|
30
31
|
evolutia/validation/args_validator.py,sha256=lhlQ5_swUBYTO_7MXUgTgtwd_JLCCEjvh4YxM7KbtkE,10051
|
|
31
32
|
evolutia/validation/config_validator.py,sha256=ATTI0--zZIG85WzASU59M2nW-nZbNSxWOe82QJ1vIMQ,20968
|
|
32
|
-
evolutia-0.1.
|
|
33
|
-
evolutia-0.1.
|
|
34
|
-
evolutia-0.1.
|
|
35
|
-
evolutia-0.1.
|
|
36
|
-
evolutia-0.1.
|
|
37
|
-
evolutia-0.1.
|
|
33
|
+
evolutia-0.1.4.dist-info/licenses/LICENSE,sha256=jyOI5zt59oNBGE33KX2L1py7ZwWKqVFNcgEePR6o6YA,11564
|
|
34
|
+
evolutia-0.1.4.dist-info/METADATA,sha256=jgg9w2XMu1Q3bCzIClKhjStV-zZxxsacJ7fljN2oN-4,16955
|
|
35
|
+
evolutia-0.1.4.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
36
|
+
evolutia-0.1.4.dist-info/entry_points.txt,sha256=BMYhya9XcbrfsjGfp4lMVQF0TK3Bd_Kj6mZtFhVJ7zo,47
|
|
37
|
+
evolutia-0.1.4.dist-info/top_level.txt,sha256=GrIvEW8qAI8CIW5XTPnCqC7o06qJIL8p9CGwVhCEC4s,22
|
|
38
|
+
evolutia-0.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|