diff --git a/jigsawstack/version.py b/jigsawstack/version.py index e91e25c..054aeb2 100644 --- a/jigsawstack/version.py +++ b/jigsawstack/version.py @@ -1,4 +1,4 @@ -__version__ = "0.4.5" +__version__ = "0.4.6" def get_version() -> str: diff --git a/jigsawstack/vision.py b/jigsawstack/vision.py index d23b548..7bdb7a6 100644 --- a/jigsawstack/vision.py +++ b/jigsawstack/vision.py @@ -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 @@ -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] diff --git a/setup.py b/setup.py index 354102e..012781c 100644 --- a/setup.py +++ b/setup.py @@ -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",