Skip to content

Tags: Zipstack/unstract-sdk

Tags

v0.79.0

Toggle v0.79.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
UN-2954: Enable line confidence extraction in LLMWhisperer V2 (#204)

* UN-2954: Enable line confidence extraction in LLMWhisperer V2

- Add include_line_confidence parameter to LLMWhisperer V2 whisper requests
- Enable confidence extraction when highlighting is enabled
- Bump llmwhisperer-client to version 2.5.0
- Update requires-python to >=3.12 (required by llmwhisperer-client 2.5.0)
- Bump SDK version to v0.78.2
- Update uv.lock with resolved dependencies

* Update src/unstract/sdk/__init__.py

Co-authored-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>
Signed-off-by: Deepak K <89829542+Deepak-Kesavan@users.noreply.github.com>

---------

Signed-off-by: Deepak K <89829542+Deepak-Kesavan@users.noreply.github.com>
Co-authored-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>

v0.78.0

Toggle v0.78.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
UN-2793 [FEAT] Added exponential backoff retry mechanism for platform…

… service connections (#199)

* feat/added-retries-for-platform-service-calls [FEAT] Added exponential backoff retry mechanism for platform service connections

- Implemented retry_utils module with configurable retry behavior
- Added @retry_on_connection_error decorator to platform service calls
- Supports exponential backoff with jitter to prevent thundering herd
- Configuration via environment variables for max retries, delays, and backoff factor
- Automatically retries on ConnectionError and errno 111 (Connection refused)
- Improved error handling and logging for better debugging
- Bumped SDK version to v0.78.0

* Delete mypy-errors.txt

Signed-off-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>

* UN-2793 Moved ConnectionError handling to allow the retry decorator as expected

* UN-2793 [FEAT] Refactor retry mechanism to use backoff library with configurable exceptions

      - Replace custom retry implementation with battle-tested backoff library
      - Add configurable exception types while preserving existing OSError errno logic
      - Implement generic retry decorator factory supporting multiple service prefixes
      - Maintain backward compatibility with existing platform service retry behavior
      - Add comprehensive environment variable configuration for retry parameters
      - Improve logging with structured backoff details and exception context
      - Reduce codebase complexity from 236 lines to ~108 lines (55% reduction)
      - Support custom retry configurations per service via prefix-based env vars

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>

* Apply suggestion from @chandrasekharan-zipstack

Signed-off-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>

* Apply suggestion from @chandrasekharan-zipstack

Signed-off-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>

* UN-2793 [FEAT] Added retry decorator for prompt service calls

* UN-2793 Removed use of backoff lib and added own decorator for retries

* minor: Removed a default argument to make calls to decorator explicit

* misc: Raised err to validate envs for retry

* Update src/unstract/sdk/utils/retry_utils.py

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>

---------

Signed-off-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

0.77.3

Toggle 0.77.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
UN-2805 [FEAT] Add custom_data parameter for API deployment variable …

…replacement overrides (#202)

* UN-2805 Add user_data parameter for API deployment variable replacement overrides

- Added USER_DATA constant to MetadataKey class for user data handling
- Updated BaseTool to extract and store user_data from execution metadata
- Version bump to v0.77.2

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* UN-2805 Rename user_data to custom_data for consistency

- Renamed USER_DATA constant to CUSTOM_DATA in MetadataKey class
- Updated BaseTool to use custom_data instead of user_data
- Version bump to v0.77.3

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Signed-off-by: jagadeeswaran-zipstack <jagadeeswaran@zipstack.com>
Co-authored-by: Claude <noreply@anthropic.com>

v0.77.3

Toggle v0.77.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
UN-2805 [FEAT] Add custom_data parameter for API deployment variable …

…replacement overrides (#202)

* UN-2805 Add user_data parameter for API deployment variable replacement overrides

- Added USER_DATA constant to MetadataKey class for user data handling
- Updated BaseTool to extract and store user_data from execution metadata
- Version bump to v0.77.2

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* UN-2805 Rename user_data to custom_data for consistency

- Renamed USER_DATA constant to CUSTOM_DATA in MetadataKey class
- Updated BaseTool to use custom_data instead of user_data
- Version bump to v0.77.3

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Signed-off-by: jagadeeswaran-zipstack <jagadeeswaran@zipstack.com>
Co-authored-by: Claude <noreply@anthropic.com>

v0.77.2

Toggle v0.77.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
UN-2805 [FEAT] Add user_data parameter for API deployment variable re…

…placement overrides (#201)

UN-2805 Add user_data parameter for API deployment variable replacement overrides

- Added USER_DATA constant to MetadataKey class for user data handling
- Updated BaseTool to extract and store user_data from execution metadata
- Version bump to v0.77.2

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>

v0.77.1

Toggle v0.77.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Corrected vertex AI's JSON schema (#197)

* Corrected vertex AI's JSON schema, minor change to file_storage.exists() error handling

* Bumped version to 0.77.1

v0.77.0

Toggle v0.77.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
UN-2725 Updated Lllama-index version and related dependencies to Supp…

…ort GPT-5 models (#196)

Updated llama-index to version 0.13.2

v0.76.1

Toggle v0.76.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
UN-2453 [FIX] Mistral AI LLM adapter test connection fix (#195)

* Fixed max_tokens in mistral.py

* cleared unnecessary spaces

v0.76.0

Toggle v0.76.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
UN-2609 Added graceful shutdown support for tool containers with sign…

…al handling and configurable timeout (#194)

* sigtyerm on tool

* small refactoring

* PR review

* upgrading version

v0.75.0

Toggle v0.75.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
 UN-2590 [DEPS] Bump jsonschema version (#192)

* deps: bump jsonschema version

* deps: update ver specifier
chore: bump sdk ver