django-lucy-assist 1.0.9__tar.gz → 1.1.1__tar.gz
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.
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/PKG-INFO +1 -1
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/django_lucy_assist.egg-info/PKG-INFO +1 -1
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/__init__.py +1 -1
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/conf.py +1 -1
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/constantes.py +1 -1
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/migrations/0001_initial.py +1 -1
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/static/lucy_assist/css/lucy-assist.css +18 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/templates/lucy_assist/chatbot_sidebar.html +3 -3
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/templates/lucy_assist/partials/documentation_content.html +2 -2
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/utils/token_utils.py +2 -2
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/pyproject.toml +1 -1
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/MANIFEST.in +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/README.md +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/django_lucy_assist.egg-info/SOURCES.txt +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/django_lucy_assist.egg-info/dependency_links.txt +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/django_lucy_assist.egg-info/requires.txt +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/django_lucy_assist.egg-info/top_level.txt +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/admin.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/apps.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/context_processors.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/migrations/0002_configurationlucyassist_prompt_complementaire.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/migrations/0003_configurationlucyassist_crud_views_mapping.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/migrations/__init__.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/models/__init__.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/models/base.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/models/configuration.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/models/conversation.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/models/message.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/models/project_context_cache.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/__init__.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/bug_notification_service.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/claude_service.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/context_service.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/crud_service.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/gitlab_service.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/project_context_service.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/tool_executor_service.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/tools_definition.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/view_discovery_service.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/signals.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/static/lucy_assist/image/icon-lucy.png +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/static/lucy_assist/js/lucy-assist.js +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/tests/__init__.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/tests/factories/__init__.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/tests/factories/lucy_assist_factories.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/tests/test_lucy_assist.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/urls.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/utils/__init__.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/utils/log_utils.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/utils/message_utils.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/views/__init__.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/views/api_views.py +0 -0
- {django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/setup.cfg +0 -0
|
@@ -5,7 +5,7 @@ Un chatbot IA basé sur Claude d'Anthropic, intégrable dans n'importe quelle
|
|
|
5
5
|
application Django pour fournir une assistance contextuelle aux utilisateurs.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
__version__ = '1.
|
|
8
|
+
__version__ = '1.1.1'
|
|
9
9
|
__author__ = 'Revolucy'
|
|
10
10
|
|
|
11
11
|
default_app_config = 'lucy_assist.apps.LucyAssistConfig'
|
|
@@ -42,7 +42,7 @@ class LucyAssistSettings:
|
|
|
42
42
|
'LUCY_CRM_API_URL': 'https://app.lucy-crm.fr',
|
|
43
43
|
|
|
44
44
|
# Prix par million de tokens (en euros)
|
|
45
|
-
'PRIX_PAR_MILLION_TOKENS':
|
|
45
|
+
'PRIX_PAR_MILLION_TOKENS': 50.0,
|
|
46
46
|
|
|
47
47
|
# Nombre moyen de tokens par conversation
|
|
48
48
|
'TOKENS_MOYENS_PAR_CONVERSATION': 2000,
|
|
@@ -7,7 +7,7 @@ class LucyAssistConstantes:
|
|
|
7
7
|
"""Constantes générales de Lucy Assist"""
|
|
8
8
|
|
|
9
9
|
# Prix par million de tokens (en euros)
|
|
10
|
-
PRIX_PAR_MILLION_TOKENS =
|
|
10
|
+
PRIX_PAR_MILLION_TOKENS = 50.0
|
|
11
11
|
|
|
12
12
|
# Nombre moyen de tokens par conversation
|
|
13
13
|
TOKENS_MOYENS_PAR_CONVERSATION = 2000
|
{django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/migrations/0001_initial.py
RENAMED
|
@@ -22,7 +22,7 @@ class Migration(migrations.Migration):
|
|
|
22
22
|
('updated_date', models.DateTimeField(auto_now=True, null=True)),
|
|
23
23
|
('is_active', models.BooleanField(default=True)),
|
|
24
24
|
('tokens_disponibles', models.BigIntegerField(default=0)),
|
|
25
|
-
('prix_par_million_tokens', models.DecimalField(decimal_places=2, default=
|
|
25
|
+
('prix_par_million_tokens', models.DecimalField(decimal_places=2, default=50.0, max_digits=10)),
|
|
26
26
|
('questions_frequentes', models.JSONField(blank=True, default=list)),
|
|
27
27
|
('actif', models.BooleanField(default=True)),
|
|
28
28
|
('avatar', models.ImageField(blank=True, null=True, upload_to='')),
|
|
@@ -913,10 +913,15 @@
|
|
|
913
913
|
DOCUMENTATION - COLLAPSE/ACCORDION
|
|
914
914
|
======================================== */
|
|
915
915
|
.lucy-doc .collapse {
|
|
916
|
+
position: relative;
|
|
916
917
|
border-radius: 0.5rem;
|
|
917
918
|
overflow: hidden;
|
|
918
919
|
}
|
|
919
920
|
|
|
921
|
+
.lucy-doc .collapse:not(.show) {
|
|
922
|
+
display: block;
|
|
923
|
+
}
|
|
924
|
+
|
|
920
925
|
.lucy-doc .collapse-arrow {
|
|
921
926
|
position: relative;
|
|
922
927
|
}
|
|
@@ -1163,6 +1168,19 @@
|
|
|
1163
1168
|
padding: 0.125rem 0.375rem;
|
|
1164
1169
|
}
|
|
1165
1170
|
|
|
1171
|
+
.lucy-doc .prose {
|
|
1172
|
+
color: var(--lucy-text);
|
|
1173
|
+
line-height: 1.6;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.lucy-doc .prose-sm {
|
|
1177
|
+
font-size: 0.875rem;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
.lucy-doc .max-w-none {
|
|
1181
|
+
max-width: none;
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1166
1184
|
/* ========================================
|
|
1167
1185
|
PRINT STYLES
|
|
1168
1186
|
======================================== */
|
|
@@ -378,13 +378,13 @@
|
|
|
378
378
|
Bienvenue sur Lucy Assist !
|
|
379
379
|
</h3>
|
|
380
380
|
<p class="lucy-guide-text">
|
|
381
|
-
Je suis votre assistant intelligent
|
|
381
|
+
Je suis votre assistant intelligent.<br>Je peux vous aider à :
|
|
382
382
|
</p>
|
|
383
383
|
<ul class="lucy-guide-list">
|
|
384
384
|
<li>Naviguer dans l'application</li>
|
|
385
385
|
<li>Rechercher des informations</li>
|
|
386
|
-
<li>
|
|
387
|
-
<li>Comprendre les
|
|
386
|
+
<li>Créer et modifier des elements</li>
|
|
387
|
+
<li>Comprendre les fonctionnalités</li>
|
|
388
388
|
</ul>
|
|
389
389
|
<div class="lucy-guide-actions">
|
|
390
390
|
<button @click="skipGuide()" class="lucy-btn lucy-btn-ghost">
|
|
@@ -87,14 +87,14 @@
|
|
|
87
87
|
<div class="stats stats-vertical shadow w-full bg-base-200">
|
|
88
88
|
<div class="stat">
|
|
89
89
|
<div class="stat-title">Prix par million de tokens</div>
|
|
90
|
-
<div class="stat-value text-primary">
|
|
90
|
+
<div class="stat-value text-primary">50 EUR</div>
|
|
91
91
|
</div>
|
|
92
92
|
<div class="stat">
|
|
93
93
|
<div class="stat-title">Tokens moyens par conversation</div>
|
|
94
94
|
<div class="stat-value text-secondary">2 000</div>
|
|
95
95
|
</div>
|
|
96
96
|
<div class="stat">
|
|
97
|
-
<div class="stat-title">Conversations pour
|
|
97
|
+
<div class="stat-title">Conversations pour 50 EUR</div>
|
|
98
98
|
<div class="stat-value text-accent">~500</div>
|
|
99
99
|
<div class="stat-desc">Estimation basée sur l'usage moyen</div>
|
|
100
100
|
</div>
|
|
@@ -17,7 +17,7 @@ class TokenUtils:
|
|
|
17
17
|
|
|
18
18
|
Args:
|
|
19
19
|
montant_euros: Montant en euros
|
|
20
|
-
prix_par_million: Prix par million de tokens (défaut:
|
|
20
|
+
prix_par_million: Prix par million de tokens (défaut: 50€)
|
|
21
21
|
|
|
22
22
|
Returns:
|
|
23
23
|
Nombre de tokens
|
|
@@ -32,7 +32,7 @@ class TokenUtils:
|
|
|
32
32
|
|
|
33
33
|
Args:
|
|
34
34
|
tokens: Nombre de tokens
|
|
35
|
-
prix_par_million: Prix par million de tokens (défaut:
|
|
35
|
+
prix_par_million: Prix par million de tokens (défaut: 50€)
|
|
36
36
|
|
|
37
37
|
Returns:
|
|
38
38
|
Montant en euros
|
|
File without changes
|
|
File without changes
|
{django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/django_lucy_assist.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/django_lucy_assist.egg-info/requires.txt
RENAMED
|
File without changes
|
{django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/django_lucy_assist.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/models/project_context_cache.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/claude_service.py
RENAMED
|
File without changes
|
{django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/context_service.py
RENAMED
|
File without changes
|
|
File without changes
|
{django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/gitlab_service.py
RENAMED
|
File without changes
|
|
File without changes
|
{django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/tool_executor_service.py
RENAMED
|
File without changes
|
{django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/tools_definition.py
RENAMED
|
File without changes
|
{django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/services/view_discovery_service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_lucy_assist-1.0.9 → django_lucy_assist-1.1.1}/lucy_assist/tests/factories/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|