vision-agent 0.0.45__tar.gz → 0.0.47__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.
Files changed (26) hide show
  1. {vision_agent-0.0.45 → vision_agent-0.0.47}/PKG-INFO +5 -3
  2. {vision_agent-0.0.45 → vision_agent-0.0.47}/README.md +4 -2
  3. {vision_agent-0.0.45 → vision_agent-0.0.47}/pyproject.toml +1 -1
  4. {vision_agent-0.0.45 → vision_agent-0.0.47}/LICENSE +0 -0
  5. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/__init__.py +0 -0
  6. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/agent/__init__.py +0 -0
  7. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/agent/agent.py +0 -0
  8. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/agent/easytool.py +0 -0
  9. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/agent/easytool_prompts.py +0 -0
  10. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/agent/reflexion.py +0 -0
  11. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/agent/reflexion_prompts.py +0 -0
  12. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/agent/vision_agent.py +0 -0
  13. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/agent/vision_agent_prompts.py +0 -0
  14. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/data/__init__.py +0 -0
  15. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/data/data.py +0 -0
  16. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/emb/__init__.py +0 -0
  17. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/emb/emb.py +0 -0
  18. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/image_utils.py +0 -0
  19. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/llm/__init__.py +0 -0
  20. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/llm/llm.py +0 -0
  21. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/lmm/__init__.py +0 -0
  22. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/lmm/lmm.py +0 -0
  23. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/tools/__init__.py +0 -0
  24. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/tools/prompts.py +0 -0
  25. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/tools/tools.py +0 -0
  26. {vision_agent-0.0.45 → vision_agent-0.0.47}/vision_agent/tools/video.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vision-agent
3
- Version: 0.0.45
3
+ Version: 0.0.47
4
4
  Summary: Toolset for Vision Agent
5
5
  Author: Landing AI
6
6
  Author-email: dev@landing.ai
@@ -69,7 +69,7 @@ export OPENAI_API_KEY="your-api-key"
69
69
  You can interact with the agents as you would with any LLM or LMM model:
70
70
 
71
71
  ```python
72
- >>> import vision_agent as va
72
+ >>> from vision_agent.agent import VisionAgent
73
73
  >>> agent = VisionAgent()
74
74
  >>> agent("What percentage of the area of this jar is filled with coffee beans?", image="jar.jpg")
75
75
  "The percentage of area of the jar filled with coffee beans is 25%."
@@ -132,7 +132,9 @@ you. For example:
132
132
  | Crop | Crop crops an image given a bounding box and returns a file name of the cropped image. |
133
133
  | BboxArea | BboxArea returns the area of the bounding box in pixels normalized to 2 decimal places. |
134
134
  | SegArea | SegArea returns the area of the segmentation mask in pixels normalized to 2 decimal places. |
135
- | ExtractFrames | ExtractFrames extracts image frames from the input video. |
135
+ | BboxIoU | BboxIoU returns the intersection over union of two bounding boxes normalized to 2 decimal places. |
136
+ | SegIoU | SegIoU returns the intersection over union of two segmentation masks normalized to 2 decimal places. |
137
+ | ExtractFrames | ExtractFrames extracts frames with motion from a video. |
136
138
 
137
139
 
138
140
  It also has a basic set of calculate tools such as add, subtract, multiply and divide.
@@ -40,7 +40,7 @@ export OPENAI_API_KEY="your-api-key"
40
40
  You can interact with the agents as you would with any LLM or LMM model:
41
41
 
42
42
  ```python
43
- >>> import vision_agent as va
43
+ >>> from vision_agent.agent import VisionAgent
44
44
  >>> agent = VisionAgent()
45
45
  >>> agent("What percentage of the area of this jar is filled with coffee beans?", image="jar.jpg")
46
46
  "The percentage of area of the jar filled with coffee beans is 25%."
@@ -103,7 +103,9 @@ you. For example:
103
103
  | Crop | Crop crops an image given a bounding box and returns a file name of the cropped image. |
104
104
  | BboxArea | BboxArea returns the area of the bounding box in pixels normalized to 2 decimal places. |
105
105
  | SegArea | SegArea returns the area of the segmentation mask in pixels normalized to 2 decimal places. |
106
- | ExtractFrames | ExtractFrames extracts image frames from the input video. |
106
+ | BboxIoU | BboxIoU returns the intersection over union of two bounding boxes normalized to 2 decimal places. |
107
+ | SegIoU | SegIoU returns the intersection over union of two segmentation masks normalized to 2 decimal places. |
108
+ | ExtractFrames | ExtractFrames extracts frames with motion from a video. |
107
109
 
108
110
 
109
111
  It also has a basic set of calculate tools such as add, subtract, multiply and divide.
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "vision-agent"
7
- version = "0.0.45"
7
+ version = "0.0.47"
8
8
  description = "Toolset for Vision Agent"
9
9
  authors = ["Landing AI <dev@landing.ai>"]
10
10
  readme = "README.md"
File without changes