seekrai 0.3.0__tar.gz → 0.3.2__tar.gz
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.
- {seekrai-0.3.0 → seekrai-0.3.2}/PKG-INFO +2 -2
- {seekrai-0.3.0 → seekrai-0.3.2}/README.md +1 -1
- {seekrai-0.3.0 → seekrai-0.3.2}/pyproject.toml +1 -1
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/abstract/api_requestor.py +3 -1
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/resources/finetune.py +1 -1
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/finetune.py +1 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/LICENSE +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/__init__.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/abstract/__init__.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/client.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/constants.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/error.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/filemanager.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/resources/__init__.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/resources/alignment.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/resources/chat/__init__.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/resources/chat/completions.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/resources/completions.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/resources/deployments.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/resources/embeddings.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/resources/files.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/resources/images.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/resources/models.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/resources/projects.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/seekrflow_response.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/__init__.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/abstract.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/alignment.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/chat_completions.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/common.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/completions.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/deployments.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/embeddings.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/error.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/files.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/images.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/models.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/types/projects.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/utils/__init__.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/utils/_log.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/utils/api_helpers.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/utils/files.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/utils/tools.py +0 -0
- {seekrai-0.3.0 → seekrai-0.3.2}/src/seekrai/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: seekrai
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Python client for SeekrAI
|
|
5
5
|
Home-page: https://gitlab.cb.ntent.com/ml/seekr-py
|
|
6
6
|
License: Apache-2.0
|
|
@@ -31,7 +31,7 @@ Project-URL: Homepage, https://www.seekr.com/
|
|
|
31
31
|
Project-URL: Repository, https://gitlab.cb.ntent.com/ml/seekr-py
|
|
32
32
|
Description-Content-Type: text/markdown
|
|
33
33
|
|
|
34
|
-
The Seekr Python Library is the official Python client for SeekrFlow's API platform, providing a convenient way for interacting with the REST APIs and enables easy integrations with Python 3.
|
|
34
|
+
The Seekr Python Library is the official Python client for SeekrFlow's API platform, providing a convenient way for interacting with the REST APIs and enables easy integrations with Python 3.9+ applications with easy to use synchronous and asynchronous clients.
|
|
35
35
|
|
|
36
36
|
# Installation
|
|
37
37
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
The Seekr Python Library is the official Python client for SeekrFlow's API platform, providing a convenient way for interacting with the REST APIs and enables easy integrations with Python 3.
|
|
1
|
+
The Seekr Python Library is the official Python client for SeekrFlow's API platform, providing a convenient way for interacting with the REST APIs and enables easy integrations with Python 3.9+ applications with easy to use synchronous and asynchronous clients.
|
|
2
2
|
|
|
3
3
|
# Installation
|
|
4
4
|
|
|
@@ -442,7 +442,9 @@ class APIRequestor:
|
|
|
442
442
|
) from e
|
|
443
443
|
|
|
444
444
|
# retry on 5XX error or rate-limit
|
|
445
|
-
if result.status_code > 300:
|
|
445
|
+
if result.status_code > 300 and result.status_code < 500:
|
|
446
|
+
raise httpx.HTTPError(result.content.decode())
|
|
447
|
+
elif result.status_code >= 500:
|
|
446
448
|
raise httpx.HTTPError("Error communicating with API: {}".format(result))
|
|
447
449
|
|
|
448
450
|
utils.log_debug(
|
|
@@ -171,6 +171,7 @@ class FinetuneResponse(BaseModel):
|
|
|
171
171
|
events: List[FinetuneEvent] | None = None
|
|
172
172
|
inference_available: bool = False
|
|
173
173
|
project_id: Optional[int] = None # TODO - fix this
|
|
174
|
+
completed_at: datetime | None = None
|
|
174
175
|
|
|
175
176
|
# dataset token count
|
|
176
177
|
# TODO
|
|
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
|
|
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
|