dhisana 0.0.1.dev264__py3-none-any.whl → 0.0.1.dev265__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.
- dhisana/utils/generate_email.py +7 -2
- dhisana/utils/generate_linkedin_connect_message.py +8 -2
- {dhisana-0.0.1.dev264.dist-info → dhisana-0.0.1.dev265.dist-info}/METADATA +1 -1
- {dhisana-0.0.1.dev264.dist-info → dhisana-0.0.1.dev265.dist-info}/RECORD +7 -7
- {dhisana-0.0.1.dev264.dist-info → dhisana-0.0.1.dev265.dist-info}/WHEEL +0 -0
- {dhisana-0.0.1.dev264.dist-info → dhisana-0.0.1.dev265.dist-info}/entry_points.txt +0 -0
- {dhisana-0.0.1.dev264.dist-info → dhisana-0.0.1.dev265.dist-info}/top_level.txt +0 -0
dhisana/utils/generate_email.py
CHANGED
|
@@ -12,6 +12,11 @@ from dhisana.utils.generate_structured_output_internal import (
|
|
|
12
12
|
from datetime import datetime
|
|
13
13
|
from pydantic import BaseModel, ConfigDict
|
|
14
14
|
|
|
15
|
+
# ---------------------------------------------------------------------------------------
|
|
16
|
+
# CONSTANTS
|
|
17
|
+
# ---------------------------------------------------------------------------------------
|
|
18
|
+
DEFAULT_OPENAI_MODEL = "gpt-4.1"
|
|
19
|
+
|
|
15
20
|
# -----------------------------------------------------------------------------
|
|
16
21
|
# Email Copy schema
|
|
17
22
|
# -----------------------------------------------------------------------------
|
|
@@ -191,7 +196,7 @@ async def generate_personalized_email_copy(
|
|
|
191
196
|
prompt=initial_prompt,
|
|
192
197
|
response_format=EmailCopy,
|
|
193
198
|
vector_store_id=vector_store_id,
|
|
194
|
-
model=
|
|
199
|
+
model=DEFAULT_OPENAI_MODEL,
|
|
195
200
|
tool_config=tool_config,
|
|
196
201
|
use_cache=email_context.message_instructions.use_cache if email_context.message_instructions else True
|
|
197
202
|
)
|
|
@@ -200,7 +205,7 @@ async def generate_personalized_email_copy(
|
|
|
200
205
|
initial_response, initial_status = await get_structured_output_internal(
|
|
201
206
|
prompt=initial_prompt,
|
|
202
207
|
response_format=EmailCopy,
|
|
203
|
-
model=
|
|
208
|
+
model=DEFAULT_OPENAI_MODEL,
|
|
204
209
|
tool_config=tool_config,
|
|
205
210
|
use_cache=email_context.message_instructions.use_cache if email_context.message_instructions else True
|
|
206
211
|
)
|
|
@@ -21,6 +21,12 @@ from dhisana.utils.generate_structured_output_internal import (
|
|
|
21
21
|
)
|
|
22
22
|
from dhisana.utils.assistant_tool_tag import assistant_tool
|
|
23
23
|
|
|
24
|
+
# ---------------------------------------------------------------------------------------
|
|
25
|
+
# CONSTANTS
|
|
26
|
+
# ---------------------------------------------------------------------------------------
|
|
27
|
+
DEFAULT_OPENAI_MODEL = "gpt-4.1"
|
|
28
|
+
|
|
29
|
+
|
|
24
30
|
# ----------------------------------------------------------------------
|
|
25
31
|
# LinkedIn Connection Message Schema
|
|
26
32
|
# ----------------------------------------------------------------------
|
|
@@ -151,7 +157,7 @@ async def generate_personalized_linkedin_copy(
|
|
|
151
157
|
prompt=prompt,
|
|
152
158
|
response_format=LinkedInConnectMessage,
|
|
153
159
|
vector_store_id=vector_store_id,
|
|
154
|
-
model=
|
|
160
|
+
model=DEFAULT_OPENAI_MODEL,
|
|
155
161
|
tool_config=tool_config,
|
|
156
162
|
use_cache=linkedin_context.message_instructions.use_cache if linkedin_context.message_instructions else True
|
|
157
163
|
)
|
|
@@ -160,7 +166,7 @@ async def generate_personalized_linkedin_copy(
|
|
|
160
166
|
response_data, status = await get_structured_output_internal(
|
|
161
167
|
prompt=prompt,
|
|
162
168
|
response_format=LinkedInConnectMessage,
|
|
163
|
-
model=
|
|
169
|
+
model=DEFAULT_OPENAI_MODEL,
|
|
164
170
|
tool_config=tool_config,
|
|
165
171
|
use_cache=linkedin_context.message_instructions.use_cache if linkedin_context.message_instructions else True
|
|
166
172
|
)
|
|
@@ -39,11 +39,11 @@ dhisana/utils/field_validators.py,sha256=BZgNCpBG264aRqNUu_J67c6zfr15zlAaIw2XRy8
|
|
|
39
39
|
dhisana/utils/g2_tools.py,sha256=a4vmBYCBvLae5CdpOhMN1oNlvO8v9J1B5Sd8T5PzuU8,3346
|
|
40
40
|
dhisana/utils/generate_content.py,sha256=kkf-aPuA32BNgwk_j5N6unYHOZpO7zIfO6zP95XM9fA,2298
|
|
41
41
|
dhisana/utils/generate_custom_message.py,sha256=tQsryytoYKP5uF3bRENeZks1LvOMFCP6L1487P_r_hk,12072
|
|
42
|
-
dhisana/utils/generate_email.py,sha256=
|
|
42
|
+
dhisana/utils/generate_email.py,sha256=Qufol-qgOk8loNulZ6hMzIRr45Ml7JwJpLO5OMabbH8,13217
|
|
43
43
|
dhisana/utils/generate_email_response.py,sha256=Xk6t2hW_QbumvXf5uUdsD-Lkq8hfzRD9QWioYcdWM1k,21194
|
|
44
44
|
dhisana/utils/generate_flow.py,sha256=QMn6bWo0nH0fBvy2Ebub1XfH5udnVAqsPsbIqCtQPXU,4728
|
|
45
45
|
dhisana/utils/generate_leads_salesnav.py,sha256=FG7q6GSm9IywZ9TgQnn5_N3QNfiI-Qk2gaO_3GS99nY,12236
|
|
46
|
-
dhisana/utils/generate_linkedin_connect_message.py,sha256=
|
|
46
|
+
dhisana/utils/generate_linkedin_connect_message.py,sha256=QxsxDiT-3eQOqAAbW13d0HGJXV36WYPvC-7Zsw_2VTI,10208
|
|
47
47
|
dhisana/utils/generate_linkedin_response_message.py,sha256=mWoSs5p2JSTIoFZFGm86x1kgs67J7dHPvGKZPzcdGdU,14569
|
|
48
48
|
dhisana/utils/generate_structured_output_internal.py,sha256=k6w5zaaMigp7cUgFALr-TRBsoEQTlzyGfH4R8HIIfGU,22116
|
|
49
49
|
dhisana/utils/google_custom_search.py,sha256=5rQ4uAF-hjFpd9ooJkd6CjRvSmhZHhqM0jfHItsbpzk,10071
|
|
@@ -95,8 +95,8 @@ dhisana/workflow/agent.py,sha256=esv7_i_XuMkV2j1nz_UlsHov_m6X5WZZiZm_tG4OBHU,565
|
|
|
95
95
|
dhisana/workflow/flow.py,sha256=xWE3qQbM7j2B3FH8XnY3zOL_QXX4LbTW4ArndnEYJE0,1638
|
|
96
96
|
dhisana/workflow/task.py,sha256=HlWz9mtrwLYByoSnePOemBUBrMEcj7KbgNjEE1oF5wo,1830
|
|
97
97
|
dhisana/workflow/test.py,sha256=E7lRnXK0PguTNzyasHytLzTJdkqIPxG5_4qk4hMEeKc,3399
|
|
98
|
-
dhisana-0.0.1.
|
|
99
|
-
dhisana-0.0.1.
|
|
100
|
-
dhisana-0.0.1.
|
|
101
|
-
dhisana-0.0.1.
|
|
102
|
-
dhisana-0.0.1.
|
|
98
|
+
dhisana-0.0.1.dev265.dist-info/METADATA,sha256=S6o7HBV1UGxYP3ltCxcwGEYDhpQ5VsZ_sEUXvf_cIcY,1190
|
|
99
|
+
dhisana-0.0.1.dev265.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
100
|
+
dhisana-0.0.1.dev265.dist-info/entry_points.txt,sha256=jujxteZmNI9EkEaK-pOCoWuBujU8TCevdkfl9ZcKHek,49
|
|
101
|
+
dhisana-0.0.1.dev265.dist-info/top_level.txt,sha256=NETTHt6YifG_P7XtRHbQiXZlgSFk9Qh9aR-ng1XTf4s,8
|
|
102
|
+
dhisana-0.0.1.dev265.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|