Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jigsawstack/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.4.5"
__version__ = "0.4.6"


def get_version() -> str:
Expand Down
10 changes: 10 additions & 0 deletions jigsawstack/vision.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ class ObjectDetectionParams(TypedDict):
List of prompts for object detection
"""

enhance_prompts: NotRequired[bool]
"""
Whether to use enhanced prompts for better detection results
"""

features: NotRequired[List[Literal["object", "gui"]]]
"""
List of features to enable: object, gui
Expand All @@ -122,6 +127,11 @@ class ObjectDetectionParams(TypedDict):
Whether to return masks for the detected objects
"""

return_tags: NotRequired[bool]
"""
Whether to return tags detected in the image
"""


class ObjectDetectionResponse(BaseResponse):
annotated_image: NotRequired[str]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="jigsawstack",
version="0.4.5",
version="0.4.6",
description="JigsawStack - The AI SDK for Python",
long_description=open("README.md", encoding="utf8").read(),
long_description_content_type="text/markdown",
Expand Down
Loading