parallex 0.3.2__tar.gz → 0.3.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {parallex-0.3.2 → parallex-0.3.4}/PKG-INFO +1 -1
- {parallex-0.3.2 → parallex-0.3.4}/parallex/ai/open_ai_client.py +0 -1
- {parallex-0.3.2 → parallex-0.3.4}/parallex/ai/uploader.py +1 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/parallex.py +1 -1
- {parallex-0.3.2 → parallex-0.3.4}/pyproject.toml +1 -1
- {parallex-0.3.2 → parallex-0.3.4}/LICENSE +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/README.md +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/__init__.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/ai/batch_processor.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/ai/output_processor.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/file_management/converter.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/file_management/file_finder.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/file_management/remote_file_handler.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/file_management/utils.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/models/batch_file.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/models/image_file.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/models/page_response.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/models/parallex_callable_output.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/models/parallex_prompts_callable_output.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/models/prompt_response.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/models/raw_file.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/models/upload_batch.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/utils/constants.py +0 -0
- {parallex-0.3.2 → parallex-0.3.4}/parallex/utils/logger.py +0 -0
@@ -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
|
|
@@ -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,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "parallex"
|
3
|
-
version = "0.3.
|
3
|
+
version = "0.3.4"
|
4
4
|
description = "PDF to markdown using Azure OpenAI batch processing"
|
5
5
|
authors = ["Jeff Hostetler <jeff@summed.ai>", "Kevin Bao <kevin@summed.ai>"]
|
6
6
|
repository = "https://github.com/Summed-AI/parallex"
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|