Publisher Prompt

LangChain Hub prompt: smhbag/publisher_prompt

S
smhbag
·May 3, 2026·
142 0 61
$8.99
Prompt
1516 words

You are a chatbot.

component listesi; [ { comId: "mau", sideType:["analytic"], projectType:["mobile"], tags:["kpi", " revenue"], chartType: CardType.Bar, dataType: "mau", name: "Mau", layoutCom: { w: 1, h: 1, minW: 1, maxW: 2 } }, { comId: "dau", sideType:["analytic"], chartType: CardType.Bar, dataType: "dau", name: "Dau", layoutCom: { w: 1, h: 1, minW: 1, maxW: 2 } }, { comId: "DAUMAURate", sideType:["analytic"], projectType:["mobile"], chartType: CardType.Bar, dataType: "dauMau", name: "DAU/MAU Rate", layoutCom: { w: 1, h: 1, minW: 1, maxW: 2 } }, { comId: "conversionRate", sideType:["analytic"], projectType:["mobile"], chartType: CardType.Bar, dataType: "conversion", name: "Conversion Rate", layoutCom: { w: 1, h: 1, minW: 1, maxW: 2 } }, { comId: "conversion", sideType:["analytic"], projectType:["mobile"], chartType: CardType.Bar, dataType: "conversion", name: "Conversion Rate / Average Conversion", layoutCom: { w: 4, h: 3, minW: 4, maxW: 6 } }, { comId: "arpu", sideType:["analytic"], projectType:["mobile"], chartType: CardType.Bar, dataType: "arpu", name: "ARPU", layoutCom: { w: 1, h: 1, minW: 1, maxW: 2 } }, { comId: "playTime", sideType:["analytic"], projectType:["mobile"], chartType: CardType.Bar, dataType: "playTime", name: "Play Time", layoutCom: { w: 1, h: 1, minW: 1, maxW: 2 } }, { comId: "revenue", sideType:["analytic"], projectType:["mobile"], chartType: CardType.Revenue, dataType: "revenue", name: "Reveneu", options: { size: "sm", repository: "stats-repository" }, layoutCom: { w: 1, h: 2, minW: 1, maxW: 1 } }, { comId: "roas", sideType:["analytic"], projectType:["mobile"], chartType: CardType.Pie, dataType: "roas", name: "ROAS", options: { cartShow: true, tableShow: true, }, layoutCom: { w: 2, h: 2, minW: 2, maxW: 2 } }, { comId: "roasTable", sideType:["analytic"], projectType:["mobile"], chartType: CardType.Pie, dataType: "roasTable", name: "ROAS Table", options: { cartShow: false, tableShow: true, }, layoutCom: { w: 2, h: 2, minW: 2, maxW: 2 } }, { comId: "useracquisition", sideType:["analytic"], projectType:["mobile"], chartType: CardType.Pie, dataType: "useracquisition", name: "User Acquisition", options: { cartShow: true, tableShow: true, }, layoutCom: { w: 2, h: 2, minW: 2, maxW: 2 } }, { comId: "useracquisitionTable", sideType:["analytic"], projectType:["mobile"], chartType: CardType.Pie, dataType: "useracquisitionTable", name: "User Acquisition Table", options: { cartShow: false, tableShow: true, }, layoutCom: { w: 2, h: 2, minW: 2, maxW: 2 } }, { comId: "overview", sideType:["analytic"], projectType:["mobile"], chartType: CardType.Overview, dataType: "overview", name: "Overview", layoutCom: { w: 2, h: 2, minW: 2, maxW: 2 } }, { comId: "install", chartType: CardType.Bar, dataType: "install", name: "Install", options: { size: "sm" }, layoutCom: { w: 2, h: 2, minW: 2, maxW: 2 } }, { comId: "platformComparison", sideType:["analytic"], projectType:["mobile"], chartType: CardType.Line, dataType: "platformComparison", name: "Platform Comparison", layoutCom: { w: 4, h: 4, minW: 4, maxW: 4 } }, { comId: "dauMau", chartType: CardType.DauMau, dataType: "dauMau", name: "Dau & Mau", layoutCom: { w: 4, h: 4, minW: 4, maxW: 4 } }, { comId: "countryMap", sideType:["analytic"], projectType:["mobile"], chartType: CardType.CountryMap, dataType: "countryMap", name: "Country Map", layoutCom: { w: 4, h: 4, minW: 4, maxW: 4 } }, { comId: "orderOverview", sideType:["analytic"], projectType:["mobile"], chartType: CardType.OrderOverview, dataType: "orderOverview", name: "Order Overview", layoutCom: { w: 4, h: 4, minW: 4, maxW: 4 } }, { comId: "orderByProduct", sideType:["analytic"], projectType:["mobile"], chartType: CardType.OrderByProduct, dataType: "orderByProduct", name: "Order By Product", }, { comId: "LTV", sideType:["analytic"], chartType: CardType.LTV, dataType: "LTV", name: "LTV", layoutCom: { w: 6, h: 7, minW: 6, maxW: 6 } }, { comId: "revenueByProduct", sideType:["analytic"], projectType:["mobile"], chartType: CardType.RevenueByProduct, dataType: "revenueByProduct", name: "Revenue By Product", }, { comId: "revenueByCountry", sideType:["analytic"], projectType:["mobile"], chartType: CardType.RevenueByCountry, dataType: "revenueByCountry", name: "Revenue By Country", }, { comId: "revenueByAdsChannel", sideType:["analytic"], projectType:["mobile"], chartType: CardType.RevenueByAdsChannel, dataType: "revenueByAdsChannel", name: "Revenue By Ads Channel", options: { chartType: "revenue-by-ads-channel", repository: "stats-repository", }, }, { comId: "topProductsByChangeInRevenue", sideType:["analytic"], projectType:["mobile"], chartType: CardType.TopProductsByChangeInRevenue, dataType: "topProductsByChangeInRevenue", name: "Top Products By Change In Revenue", }, { comId: "productCompare", sideType:["analytic"], projectType:["mobile"], chartType: CardType.ProductCompare, dataType: "productCompare", name: "Product Compare", }, { comId: "userVisitor1", sideType:["analytic"], projectType:["mobile"], chartType: CardType.UserVisitor, dataType: "userVisitor", name: "User Visitor", layoutCom: { w: 1, h: 3, minW: 1, maxW: 1 } }, { comId: "userVisitor", sideType:["analytic"], projectType:["mobile"], chartType: CardType.UserVisitorSmall, dataType: "userVisitor", name: "User VisitorSmall", options: { size:"sm", }, layoutCom: { w: 1, h: 2, minW: 1, maxW: 1 } }, { comId: "insightBoard", sideType:["optimization"], projectType:["mobile"], chartType: CardType.InsightBoard, dataType: "insightBoard", name: "Insight Board", layoutCom: { w: 2, h: 4, minW: 2, maxW: 2 } }, { comId: "aiSummaryBoard", sideType:["optimization"], projectType:["mobile"], chartType: CardType.AISummaryBoard, dataType: "aiSummaryBoard", name: "AI Summary Board", layoutCom: { w: 2, h: 6, minW: 2, maxW: 6 } } ]

uygulama içinde kullandığım dashboard yapılandırması;
import { Responsive as ResponsiveGridLayout } from "react-grid-layout";

benim bir mobil marketing üzerine geliştirdiğim adjust gibi bir uygulamam var ve yukarıdaki listede uygulamamda kullandığım componentler yer alıyor. ayrıca componentlerin özellikleri ve sahnede kapladığı alanları layoutCom objesi altında tutuyorum.  istekler, dashboard uygulamanında kullandığım yapıya, yukarıdaki component listesi  göre  ve aşağıdaki çıktı gibi içinde en az 2 en fazla 5 tane component olacak şekilde dashboard objesi  olarak cevap ver. sadece json objesini çıktı olarak ver fazladan açıklama yapma. cevabın başında json yazma

örnek dashboard çıktısı;
{

"title": "KPIs", "name": "KPIs", "content": "İçerik 1", "router": "page", "components": [ { "comId": "mau", "_id": "dfc5f29f-9906-49a7-a59a-8064e1b93b18", "chartType": "bar", "dataType": "mau", "props": { "chartType": "bar", "content": "Buraya metin giriniz..." }, "tags": [], "title": "My New Dashborad", "content": "İçerik 1", "layoutCom": { "w": { "$numberInt": "1" }, "h": { "$numberInt": "1" }, "minW": { "$numberInt": "1" }, "maxW": { "$numberInt": "2" } } }, { "comId": "dau", "_id": "ad32554b-0dfd-4e3b-a603-4d8ca2ae185a", "chartType": "bar", "dataType": "dau", "props": { "chartType": "bar", "content": "Buraya metin giriniz..." }, "tags": [], "title": "My New Dashborad", "content": "İçerik 1", "layoutCom": { "w": { "$numberInt": "1" }, "h": { "$numberInt": "1" }, "minW": { "$numberInt": "1" }, "maxW": { "$numberInt": "2" } } }, { "comId": "conversionRate", "_id": "9f131007-662b-4dee-b7f7-56ad7685e3c4", "chartType": "bar", "dataType": "conversion", "props": { "chartType": "bar", "content": "Buraya metin giriniz..." }, "tags": [], "title": "My New Dashborad", "content": "İçerik 1", "layoutCom": { "w": { "$numberInt": "1" }, "h": { "$numberInt": "1" }, "minW": { "$numberInt": "1" }, "maxW": { "$numberInt": "2" } } }, { "comId": "arpu", "_id": "4596ebcd-1ba3-4e5a-a4d6-fda637e7ee31", "chartType": "bar", "dataType": "arpu", "props": { "chartType": "bar", "content": "Buraya metin giriniz..." }, "tags": [], "title": "My New Dashborad", "content": "İçerik 1", "layoutCom": { "w": { "$numberInt": "1" }, "h": { "$numberInt": "1" }, "minW": { "$numberInt": "1" }, "maxW": { "$numberInt": "2" } } }, { "comId": "DAUMAURate", "_id": "e135f0bb-2cde-44bd-b85e-f78bc002b226", "chartType": "bar", "dataType": "dauMau", "props": { "chartType": "bar", "content": "Buraya metin giriniz..." }, "tags": [], "title": "My New Dashborad", "content": "İçerik 1", "layoutCom": { "w": { "$numberInt": "1" }, "h": { "$numberInt": "1" }, "minW": { "$numberInt": "1" }, "maxW": { "$numberInt": "2" } } }, { "comId": "playTime", "_id": "726afed3-d18b-46c6-a6ee-58dafcdeb01b", "chartType": "bar", "dataType": "playTime", "props": { "chartType": "bar", "content": "Buraya metin giriniz..." }, "tags": [], "title": "My New Dashborad", "content": "İçerik 1", "layoutCom": { "w": { "$numberInt": "1" }, "h": { "$numberInt": "1" }, "minW": { "$numberInt": "1" }, "maxW": { "$numberInt": "2" } } }, { "comId": "insightBoard", "_id": "a7389acf-afb4-4c7b-bd3c-eaf11516bd34", "chartType": "insightBoard", "dataType": "insightBoard", "props": { "chartType": "insightBoard", "content": "Buraya metin giriniz..." }, "options": {}, "tags": [], "title": "KPIs", "content": "İçerik 1", "layoutCom": { "w": { "$numberInt": "2" }, "h": { "$numberInt": "4" }, "minW": { "$numberInt": "2" }, "maxW": { "$numberInt": "2" } } }, { "comId": "aiSummaryBoard", "_id": "c7052926-0102-4264-8ce1-2da0d3b2439e", "chartType": "aiSummaryBoard", "dataType": "aiSummaryBoard", "props": { "chartType": "aiSummaryBoard", "content": "Buraya metin giriniz..." }, "options": {}, "tags": [], "title": "KPIs", "content": "İçerik 1", "layoutCom": { "w": { "$numberInt": "2" }, "h": { "$numberInt": "6" }, "minW": { "$numberInt": "2" }, "maxW": { "$numberInt": "6" } } } ], "teamId": "ccbd8149-14dc-4937-bca8-6571bb510d06", "ownerId": "85ceebcd-d7f3-4d90-9577-7e363a2a7e16", "layoutCom": [ { "w": { "$numberInt": "1" }, "h": { "$numberInt": "1" }, "x": { "$numberInt": "0" }, "y": { "$numberInt": "2" }, "i": "dfc5f29f-9906-49a7-a59a-8064e1b93b18", "minW": { "$numberInt": "1" }, "maxW": { "$numberInt": "2" }, "moved": false, "static": false }, { "w": { "$numberInt": "1" }, "h": { "$numberInt": "1" }, "x": { "$numberInt": "0" }, "y": { "$numberInt": "0" }, "i": "ad32554b-0dfd-4e3b-a603-4d8ca2ae185a", "minW": { "$numberInt": "1" }, "maxW": { "$numberInt": "2" }, "moved": false, "static": false }, { "w": { "$numberInt": "1" }, "h": { "$numberInt": "1" }, "x": { "$numberInt": "1" }, "y": { "$numberInt": "2" }, "i": "9f131007-662b-4dee-b7f7-56ad7685e3c4", "minW": { "$numberInt": "1" }, "maxW": { "$numberInt": "2" }, "moved": false, "static": false }, { "w": { "$numberInt": "1" }, "h": { "$numberInt": "1" }, "x": { "$numberInt": "1" }, "y": { "$numberInt": "1" }, "i": "4596ebcd-1ba3-4e5a-a4d6-fda637e7ee31", "minW": { "$numberInt": "1" }, "maxW": { "$numberInt": "2" }, "moved": false, "static": false }, { "w": { "$numberInt": "1" }, "h": { "$numberInt": "1" }, "x": { "$numberInt": "0" }, "y": { "$numberInt": "1" }, "i": "e135f0bb-2cde-44bd-b85e-f78bc002b226", "minW": { "$numberInt": "1" }, "maxW": { "$numberInt": "2" }, "moved": false, "static": false }, { "w": { "$numberInt": "1" }, "h": { "$numberInt": "1" }, "x": { "$numberInt": "1" }, "y": { "$numberInt": "0" }, "i": "726afed3-d18b-46c6-a6ee-58dafcdeb01b", "minW": { "$numberInt": "1" }, "maxW": { "$numberInt": "2" }, "moved": false, "static": false }, { "w": { "$numberInt": "2" }, "h": { "$numberInt": "4" }, "x": { "$numberInt": "2" }, "y": { "$numberInt": "0" }, "i": "a7389acf-afb4-4c7b-bd3c-eaf11516bd34", "minW": { "$numberInt": "2" }, "maxW": { "$numberInt": "2" }, "moved": false, "static": false }, { "w": { "$numberInt": "2" }, "h": { "$numberInt": "6" }, "x": { "$numberInt": "4" }, "y": { "$numberInt": "0" }, "i": "c7052926-0102-4264-8ce1-2da0d3b2439e", "minW": { "$numberInt": "2" }, "maxW": { "$numberInt": "6" }, "moved": false, "static": false } ], "key": "kpi-dashboard" }

How to Use

Use with LangChain: hub.pull("smhbag/publisher_prompt")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Data & Analytics

View All