parallex 0.3.2__py3-none-any.whl → 0.3.4__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- parallex/ai/open_ai_client.py +0 -1
- parallex/ai/uploader.py +1 -0
- parallex/parallex.py +1 -1
- {parallex-0.3.2.dist-info → parallex-0.3.4.dist-info}/METADATA +1 -1
- {parallex-0.3.2.dist-info → parallex-0.3.4.dist-info}/RECORD +7 -7
- {parallex-0.3.2.dist-info → parallex-0.3.4.dist-info}/LICENSE +0 -0
- {parallex-0.3.2.dist-info → parallex-0.3.4.dist-info}/WHEEL +0 -0
parallex/ai/open_ai_client.py
CHANGED
parallex/ai/uploader.py
CHANGED
@@ -127,6 +127,7 @@ def _simple_jsonl_format(prompt_custom_id: str, prompt_text: str) -> dict:
|
|
127
127
|
"body": {
|
128
128
|
"model": os.getenv("AZURE_API_DEPLOYMENT"),
|
129
129
|
"messages": [{"role": "user", "content": prompt_text}],
|
130
|
+
"temperature": 0.0, # TODO make configurable
|
130
131
|
},
|
131
132
|
}
|
132
133
|
|
parallex/parallex.py
CHANGED
@@ -110,7 +110,7 @@ async def _prompts_execute(
|
|
110
110
|
f"waiting for batch to complete - {batch.id} - {batch.trace_id}"
|
111
111
|
)
|
112
112
|
prompt_task = asyncio.create_task(
|
113
|
-
|
113
|
+
_wait_and_create_prompt_responses(batch=batch, client=open_ai_client, semaphore=process_semaphore)
|
114
114
|
)
|
115
115
|
prompt_tasks.append(prompt_task)
|
116
116
|
prompt_response_groups = await asyncio.gather(*prompt_tasks)
|
@@ -1,8 +1,8 @@
|
|
1
1
|
parallex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
parallex/ai/batch_processor.py,sha256=O5q_jaIU0VI93p7Riq4aZ_qUiN9Omxp5GOfn0IqEYgo,1361
|
3
|
-
parallex/ai/open_ai_client.py,sha256=
|
3
|
+
parallex/ai/open_ai_client.py,sha256=TRH78oYod_EWpp3hjEh097OT7hwsQmtv44_j3X9Frxo,2047
|
4
4
|
parallex/ai/output_processor.py,sha256=Rwp8dkLo4xsqooeBh3Xv-uGVbJMG1JQkwyxdUoOs2tQ,1800
|
5
|
-
parallex/ai/uploader.py,sha256=
|
5
|
+
parallex/ai/uploader.py,sha256=Il4dllaPn6NGoU1YWi56ZJkzaOQzKg9lUngfc3ANOKg,5500
|
6
6
|
parallex/file_management/converter.py,sha256=Rj-93LXNl2gCY-XUOCZv7DdCNI2-GyRpS5FobnTqwzo,1111
|
7
7
|
parallex/file_management/file_finder.py,sha256=BPvrkxZlwOYmRXzzS138wGTsVzuhDIKfQZn0CISUj3o,1598
|
8
8
|
parallex/file_management/remote_file_handler.py,sha256=jsI9NhOrKQR8K3yo536lGplVBGis9XY0G4dRpumgWFM,213
|
@@ -15,10 +15,10 @@ parallex/models/parallex_prompts_callable_output.py,sha256=IlNX9627_E8aXWQ-vDBuv
|
|
15
15
|
parallex/models/prompt_response.py,sha256=LcctuyqwiTHWrZHSahwauMaSBsin5Ws6fQRAzGXTsAA,230
|
16
16
|
parallex/models/raw_file.py,sha256=Nlv6u_jlDCXDgU2_Ff7DRbDCx27pB1NZugNhEoaBMQU,483
|
17
17
|
parallex/models/upload_batch.py,sha256=jrnds9ryXg9drL4TF8TGimMVTCDfKaWsBzFv_ed0i88,2068
|
18
|
-
parallex/parallex.py,sha256=
|
18
|
+
parallex/parallex.py,sha256=0nOfEXeiuTKi0gQSnqdNyPxIYvuE7Wfp4HtmSbVsEs4,8864
|
19
19
|
parallex/utils/constants.py,sha256=508ieZLZ5kse0T4_QyNJp57Aq0DMNFjjyFlsKa0xtek,366
|
20
20
|
parallex/utils/logger.py,sha256=i3ZZ7YTUmhUStbvVME67F9ffnkLOv5ijm7wVUyJT8Ys,440
|
21
|
-
parallex-0.3.
|
22
|
-
parallex-0.3.
|
23
|
-
parallex-0.3.
|
24
|
-
parallex-0.3.
|
21
|
+
parallex-0.3.4.dist-info/LICENSE,sha256=wPwCqGrisXnEcpaUxSO79C2mdOUTbtjhLjyy8mVW6p8,1046
|
22
|
+
parallex-0.3.4.dist-info/METADATA,sha256=gIXiPBgPJVnqZbfa8xsxMN0cTDJjalZmplnOUHfI9-0,4461
|
23
|
+
parallex-0.3.4.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
24
|
+
parallex-0.3.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|