freeplay 0.3.17__py3-none-any.whl → 0.3.18__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.
- freeplay/resources/prompts.py +7 -1
- {freeplay-0.3.17.dist-info → freeplay-0.3.18.dist-info}/METADATA +1 -1
- {freeplay-0.3.17.dist-info → freeplay-0.3.18.dist-info}/RECORD +6 -6
- {freeplay-0.3.17.dist-info → freeplay-0.3.18.dist-info}/LICENSE +0 -0
- {freeplay-0.3.17.dist-info → freeplay-0.3.18.dist-info}/WHEEL +0 -0
- {freeplay-0.3.17.dist-info → freeplay-0.3.18.dist-info}/entry_points.txt +0 -0
freeplay/resources/prompts.py
CHANGED
@@ -156,7 +156,13 @@ class BoundPrompt:
|
|
156
156
|
flavor_name: str,
|
157
157
|
messages: List[Dict[str, str]]
|
158
158
|
) -> Union[str, List[Dict[str, str]]]:
|
159
|
-
if flavor_name in [
|
159
|
+
if flavor_name in [
|
160
|
+
'azure_openai_chat',
|
161
|
+
'openai_chat',
|
162
|
+
'baseten_mistral_chat',
|
163
|
+
'mistral_chat',
|
164
|
+
'perplexity_chat'
|
165
|
+
]:
|
160
166
|
# We need a deepcopy here to avoid referential equality with the llm_prompt
|
161
167
|
return copy.deepcopy(messages)
|
162
168
|
elif flavor_name == 'anthropic_chat':
|
@@ -8,15 +8,15 @@ freeplay/model.py,sha256=o0de_RZ2WTJ4m5OJw1ZVfC2xG6zBq_XShBrRt1laEjc,1405
|
|
8
8
|
freeplay/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
9
|
freeplay/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
freeplay/resources/customer_feedback.py,sha256=bw8MfEOKbGgn4FOyvcADrcs9GhcpNXNTgxKjBjIzywE,899
|
11
|
-
freeplay/resources/prompts.py,sha256=
|
11
|
+
freeplay/resources/prompts.py,sha256=mpJiHec3Bww_9oWLaEHlwS3QSwRgz_sMCY1M8dZiRjA,22879
|
12
12
|
freeplay/resources/recordings.py,sha256=uslhoKWsXq51sAbF1lBs2uGL14qvBGc3dM8ZL6-H_04,8488
|
13
13
|
freeplay/resources/sessions.py,sha256=J5A3CjiV2MFqQyxN3TWTvJaa9jmMza58mRFRq2v9iAk,3746
|
14
14
|
freeplay/resources/test_cases.py,sha256=nXL_976RwSJDT6OWDM4GEzbcOzcGkJ9ulvb0XOzCRDM,2240
|
15
15
|
freeplay/resources/test_runs.py,sha256=Tp2N-odInT5XEEWrEsVhdgfnsclOE8n92_C8gTwO2MI,2623
|
16
16
|
freeplay/support.py,sha256=royOK31X-TtluQQn_XG2xFoINV8GZAy3FRRO_P763NU,11800
|
17
17
|
freeplay/utils.py,sha256=Xvt4mNLXLL7E6MI2hTuDLV5cl5Y83DgdjCZSyDGMjR0,3187
|
18
|
-
freeplay-0.3.
|
19
|
-
freeplay-0.3.
|
20
|
-
freeplay-0.3.
|
21
|
-
freeplay-0.3.
|
22
|
-
freeplay-0.3.
|
18
|
+
freeplay-0.3.18.dist-info/LICENSE,sha256=_jzIw45hB1XHGxiQ8leZ0GH_X7bR_a8qgxaqnHbCUOo,1064
|
19
|
+
freeplay-0.3.18.dist-info/METADATA,sha256=7NrI0qDRD2aA9qZM_0rD41lHQsM-WsdhRXoSomMnw9Q,1654
|
20
|
+
freeplay-0.3.18.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
21
|
+
freeplay-0.3.18.dist-info/entry_points.txt,sha256=32s3rf2UUCqiJT4jnClEXZhdXlvl30uwpcxz-Gsy4UU,54
|
22
|
+
freeplay-0.3.18.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|