Skip to content

Conversation

@aws-gopher
Copy link
Owner

Update integration test to check for UNSTRUCTURED_API_KEY environment variable

  • Added a conditional skip for the TestWorkflow function if the UNSTRUCTURED_API_KEY is not set.

Implement operation unit tests to mirror the Python SDK

  • Added tests for creating, updating, deleting, and retrieving sources, destinations, workflows, and jobs.
  • Implemented API error handling with the new APIError type.
  • Updated CreateSource and CreateDestination methods to ensure correct endpoint paths (with trailing slash).
  • Updated CreateWorkflowRequest to accept a pointer to the request type for consistency.
  • Implemented tests with assertions mirroring the Python SDK.

Add unstructured package components for document processing

  • Introduced new types and constants for block types, chunkers, partitioners, and encoders.
  • Implemented various chunker types (Character, Title, Page, Similarity) and partitioner strategies (Auto, Fast, HiRes, VLM).
  • Added support for encoding types and excludable elements in document processing.
  • Enhanced the client with new methods for running workflows and downloading job outputs.
  • Updated the Go module to version 1.25.0 and added comprehensive test cases for the new functionality.

- Introduced new types and constants for block types, chunkers, partitioners, and encoders.
- Implemented various chunker types (Character, Title, Page, Similarity) and partitioner strategies (Auto, Fast, HiRes, VLM).
- Added support for encoding types and excludable elements in document processing.
- Enhanced the client with new methods for running workflows and downloading job outputs.
- Updated the Go module to version 1.25.0 and added comprehensive test cases for the new functionality.
- Added tests for creating, updating, deleting, and retrieving sources, destinations, workflows, and jobs.
- Implemented API error handling with the new `APIError` type.
- Updated `CreateSource` and `CreateDestination` methods to ensure correct endpoint paths (with trailing slash).
- Updated `CreateWorkflowRequest` to accept a pointer to the request type for consistency.
- Implemented tests with assertions mirroring the Python SDK.
… variable

- Added a conditional skip for the TestWorkflow function if the UNSTRUCTURED_API_KEY is not set.
@aws-gopher aws-gopher merged commit 19eaf8b into main Aug 20, 2025
1 check passed
@aws-gopher aws-gopher deleted the type-safe branch August 20, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants