Azure cv
AzureCVToolSpec #
Bases: BaseToolSpec
Azure Cognitive Vision tool spec.
Source code in llama-index-integrations/tools/llama-index-tools-azure-cv/llama_index/tools/azure_cv/base.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
|
process_image #
process_image(url: str, features: List[str])
This tool accepts an image url or file and can process and return a variety of text depending on the use case. You can use the features argument to configure what text you want returned.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
url
|
str
|
The url for the image to caption |
required |
features
|
List[str]
|
Instructions on how to process the image. Valid keys are tags, objects, read, caption |
required |
Source code in llama-index-integrations/tools/llama-index-tools-azure-cv/llama_index/tools/azure_cv/base.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
|