Skip to content

Commit 4414309

Browse files
feat(api): api update
1 parent b68b4e9 commit 4414309

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 21
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-ee23a181bfa364090a90254a433704adf4d3b413730fe75e5ad9a26273ec517a.yml
3-
openapi_spec_hash: bc99d89cb1e7cdacc997214305bffee7
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-05c97c9a395d9336cb29abfe8a61b269c9b9bf7f336099e6d2fcb87b94b5f45c.yml
3+
openapi_spec_hash: c9d977ac0acfbf2f5766b9daba8e0874
44
config_hash: 7d13dca2b2c6f71fc463cb6062efa5ea

‎src/context/dev/types/ai_extract_product_response.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ class Product(BaseModel):
2323
name: str
2424
"""Name of the product"""
2525

26+
sku: Optional[str] = None
27+
"""Stock Keeping Unit (product identifier).
28+
29+
Extracted from structured data (JSON-LD Product.sku), microdata, meta tags,
30+
platform-specific identifiers (e.g. Amazon ASIN, Etsy listing ID), or visible
31+
SKU/Model/Item # text. Null if no identifier is found.
32+
"""
33+
2634
tags: List[str]
2735
"""Tags associated with the product"""
2836

‎src/context/dev/types/ai_extract_products_response.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ class Product(BaseModel):
2121
name: str
2222
"""Name of the product"""
2323

24+
sku: Optional[str] = None
25+
"""Stock Keeping Unit (product identifier).
26+
27+
Extracted from structured data (JSON-LD Product.sku), microdata, meta tags,
28+
platform-specific identifiers (e.g. Amazon ASIN, Etsy listing ID), or visible
29+
SKU/Model/Item # text. Null if no identifier is found.
30+
"""
31+
2432
tags: List[str]
2533
"""Tags associated with the product"""
2634

0 commit comments

Comments
 (0)