cookbook · Fanout · New or niche brands
Anchor an unfamiliar brand with hints
A brand the model has never heard of gives it little to work with. Pass the brand in `brands`, and optionally what it is in `category`, and the predicted searches stay on that brand and the questions a buyer would research about it. This recipe asks about a made-up team-offsite tool, Kinso, with and without the hint.
Request
POST /v1/fanout, documented in the Fanout reference.
curl https://meragpt.com/v1/fanout \
-H "Authorization: Bearer $MERAGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "fanout-1",
"question": "Is Kinso good for planning a team offsite?",
"brands": [
"Kinso"
],
"category": "team travel and offsite planning platform"
}'What came back
The real output from running this recipe, unedited.
{
"without hints": [
"Kinso reviews",
"Kinso for planning a team offsite"
],
"with brands and category": [
"Kinso for planning a team offsite",
"Kinso pricing",
"Kinso pros and cons"
]
}Python
import os, requests
API = "https://meragpt.com/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['MERAGPT_API_KEY']}"}
question = "Is Kinso good for planning a team offsite?"
without = requests.post(f"{API}/fanout", headers=HEADERS, json={"model": "fanout-1", "question": question}).json()
with_hints = requests.post(f"{API}/fanout", headers=HEADERS, json={
"model": "fanout-1",
"question": question,
"brands": ["Kinso"],
"category": "team travel and offsite planning platform",
}).json()
print("without:", without["queries"])
print("with: ", with_hints["queries"])
TypeScript
const API = "https://meragpt.com/v1";
const headers = {
Authorization: `Bearer ${process.env.MERAGPT_API_KEY}`,
"Content-Type": "application/json",
};
const question = "Is Kinso good for planning a team offsite?";
const run = (extra: object) =>
fetch(`${API}/fanout`, { method: "POST", headers, body: JSON.stringify({ model: "fanout-1", question, ...extra }) }).then((res) => res.json());
const without = await run({});
const withHints = await run({ brands: ["Kinso"], category: "team travel and offsite planning platform" });
console.log("without:", without.queries);
console.log("with: ", withHints.queries);
When to trust it
Without the hint the model still kept to Kinso, but returned only two generic searches. With it, it added the pricing and pros-and-cons searches buyers actually run before choosing a tool. Hints anchor the brand; they do not make the model know facts about it, so the searches are a guide to what an assistant would look up, not to what it would find.
Try it without code in the playground, or see more Fanout recipes: turn a buyer's question into a content brief, see which rivals an assistant pulls in, plan content from the questions your buyers ask, choose the searches to track for ai-answer visibility.