Skip to content

Commit

Permalink
Optimize image analysis tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgrsc committed Dec 18, 2024
1 parent a916f10 commit 3a92719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/analyze_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

@tool
def analyze_image(query: str, image_input: str):
"""Analyze image content and return AI recognition results.
"""Obtain and return the content and information in the image based on the requirements.
Args:
query: A natural language query for image analysis, e.g., "图中有什么" "详细描述图片" "图中的题目怎么做".
query: Information about the picture to be obtained, e.g., "图中有什么" "详细描述图片" "图中圆球在哪" "图中有几个人".
image_input: Image source, which can be an image URL (http:// or https://), a Base64 encoded image string, or a Base64 image string with the "image/" prefix.
"""

Expand Down

0 comments on commit 3a92719

Please sign in to comment.