Skip to content

Commit

Permalink
content ia max_length email
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisoSouza committed Oct 20, 2023
1 parent 5204bfb commit d31dcc4
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{% extends 'authentication/emails/base.html' %}
{% load static i18n %}

{% block main-content %}
<section style="width: 574px; margin: 50px auto">
<div style="font-family: 'Lato', sans-serif;font-style: normal;font-weight: normal;font-size: 20px;line-height: 24px;color: #808080;">
{% trans "Hi" %},
<span style="font-family: 'Lato', sans-serif;color: #262626;font-size: 20px;font-weight: bold;font-style: normal;">
{{ user_name }}
</span>
</div>

<div style="font-family: 'Lato', sans-serif;font-weight: bold;font-size: 20px;line-height: 28px;color: #262626;margin-top: 24px;">
Sua base de conhecimento ultrapassou o limite de caracteres!
</div>

<div style="font-family: 'Lato', sans-serif;font-style: normal;font-weight: normal;font-size: 16px;line-height: 24px;color: #808080;margin-top: 24px;">
A base de conhecimento da inteligência <strong>{{ ai_name }}</strong> ultrapassou o limite de caracteres.
Ajuste para o limite permitido pelo chatGPT de <strong>25000</strong> caracteres para que ela funcione corretamente.

<p>Total de caracteres permitidos: 25000 <br> Total de caracteres da base de conhecimento: 89000</p>

<p style="margin-top: 24px; margin-bottom: 0">
</p>
</div>
</section>
{% endblock %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{% load i18n %}

<p>Oi, {{ user_name }}</p>
Sua base de conhecimento ultrapassou o limite de caracteres!

<p>A base de conhecimento da inteligência <strong>{{ ai_name }}</strong> ultrapassou o limite de caracteres.<p>
<p>Ajuste para o limite permitido pelo chatGPT de <strong>25000</strong> caracteres para que ela funcione corretamente.<p>

<p>Total de caracteres permitidos: 25000 <br> Total de caracteres da base de conhecimento: 89000</p>
10 changes: 10 additions & 0 deletions connect/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,16 @@ def wrapper(request):
project_name="TestProject",
)
),
path(
"content-ia",
render_template(
"common/emails/organization/content_ia_max_length.html",
base_url=settings.BASE_URL,
webapp_base_url=settings.WEBAPP_BASE_URL,
ai_name="Teste",
user_name="Alisson"
)
),
]
),
)
Expand Down

0 comments on commit d31dcc4

Please sign in to comment.