Integration Suggestion: BuyWhere Real-time Singapore Product Data
Hi PromptFlow team,
Wanted to suggest an API integration that would enable practical e-commerce flows in PromptFlow: BuyWhere.
BuyWhere provides real-time Singapore product pricing from Harvey Norman, Shopee, and Lazada via a REST API.
PromptFlow Tool Node Config
name: SearchSingaporeProducts
type: python
source:
type: code
path: buywhere_tool.py
inputs:
query:
type: string
# buywhere_tool.py
import requests
from promptflow import tool
@tool
def search_singapore_products(query: str) -> dict:
"""Search real-time product prices in Singapore"""
response = requests.get("https://api.buywhere.ai/search", params={"q": query})
return response.json()
Example Flow
- User asks: "Find me the cheapest Sony TV under SGD 2,000"
- LLM generates search query
- BuyWhere tool returns live Singapore prices
- LLM synthesizes a recommendation with real data
Docs: https://buywhere.ai/developers/
Disclosure: I work on the BuyWhere team.
Integration Suggestion: BuyWhere Real-time Singapore Product Data
Hi PromptFlow team,
Wanted to suggest an API integration that would enable practical e-commerce flows in PromptFlow: BuyWhere.
BuyWhere provides real-time Singapore product pricing from Harvey Norman, Shopee, and Lazada via a REST API.
PromptFlow Tool Node Config
Example Flow
Docs: https://buywhere.ai/developers/
Disclosure: I work on the BuyWhere team.