Amazon product extraction
AmazonProductExtractionPack #
Bases: BaseLlamaPack
Product extraction pack.
Given a website url of a product (e.g. Amazon page), screenshot it, and use GPT-4V to extract structured outputs.
Source code in llama-index-packs/llama-index-packs-amazon-product-extraction/llama_index/packs/amazon_product_extraction/base.py
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
|
get_modules #
get_modules() -> Dict[str, Any]
Get modules.
Source code in llama-index-packs/llama-index-packs-amazon-product-extraction/llama_index/packs/amazon_product_extraction/base.py
92 93 94 95 96 97 98 |
|
run #
run(*args: Any, **kwargs: Any) -> Any
Run the pipeline.
Source code in llama-index-packs/llama-index-packs-amazon-product-extraction/llama_index/packs/amazon_product_extraction/base.py
100 101 102 |
|