Skip to content

Body params

Juan Gabriel Griggio edited this page May 9, 2024 · 8 revisions
Parameter Required Type Description
num_headlines Yes int Number of headlines to generate
num_descriptions Yes int Number of descriptions to generate
first_term_source_config Yes object Configuration for the first term source. See details below
second_term_source_config If second-term is present in query params object Configuration for the second term source. See details below
destination_config Yes object Configuration for the output destination. See details below
headlines_blacklist No list(str) List of case-insensitive words or phrases that are blacklisted. Topic Mine will not generate headlines with these words or phrases.
headlines_regexp_blacklist No list(str) List of regular expressions that are blacklisted. Topic Mine will not generate headlines that match with these regular expressions. Example: if descriptions with exclamation signs want to be avoided, use the regex '.*!'. Regular expression matching can be tested here.
descriptions_blacklist No list(str) List of case-insensitive words or phrases that are blacklisted. Topic Mine will not generate headlines with these words or phrases.
descriptions_regexp_blacklist No list(str) List of regular expressions that are blacklisted. Topic Mine will not generate descriptions that match with these regular expressions. Example: if descriptions with exclamation signs want to be avoided, use the regex '.*!'. Regular expression matching can be tested here.
generic_copies No object Object with generic copies to be used if Gemini could not generate enough copies.
generic_copies.headlines No list(str) List of generic headlines.
generic_copies.descriptions No list(str) List of generic descriptions.
enable_feature_extraction No bool If true, Topic Mine will understand the products' descriptions and extract their main features to generate the content. If false or not present, it will use the products' descriptions as they are. Good to try both cases and see what works best for you.
Clone this wiki locally