Skip to main content
ChatAds processes text requests in two steps: extraction (finding product keywords) and resolution (matching keywords to affiliate URLs). You can control each step independently using extraction_mode and resolution_mode. Both default to standard, which works well for most use cases. Adjust them when you need faster responses or want to bring your own keywords.

Extraction Modes

ModeBehaviorUse CaseLatency
noneSkips extraction — treats the entire message as a product keyword. Can be under 10 words, but still capped at 10k characters.You already know the product (e.g., “Sony WH-1000XM5”) and want ChatAds to find an affiliate URL0ms
fastQuick first pass on extraction. Very fast, but can be less accurate for non-branded termsWhen response time matters more than extraction accuracy100ms
standardFull extraction pipeline — balanced speed and accuracyRecommended for most use cases400ms

Resolution Modes

ModeBehaviorUse CaseLatency
noneReturns extracted keywords only — no affiliate URLsExtraction-only; you resolve links yourself0ms
fastQuick first pass for URLs — fast, but may miss productsWhen response time matters more than match accuracy100ms
standardFull resolution with fallbacks — best accuracyRecommended for most use cases500ms

Permutations

ExtractionResolutionTitleLatency
standard (default)standard (default)Full pipeline — best accuracy for both extraction and resolution~600ms
fastfastSpeed optimized — fastest end-to-end, may sacrifice accuracy~100ms
nonestandardBYOK (Bring Your Own Keyword) — you provide the product term, ChatAds finds the best affiliate URL~500ms
nonefastBYOK fast — you provide the product term, quick URL lookup~100ms
standardnoneExtraction only — extract the best keyword from text, no URL resolution~400ms
fastnoneQuick extraction only — fast keyword extraction, no URL resolution~50ms

Next Steps