package com.app.chattyai; import com.app.chattyai.utils.AppConfigExt; import java.io.Serializable; import dreamspace.ads.sdk.data.AdNetworkType; public class AppConfig extends AppConfigExt implements Serializable { /* -------------------------------------- INSTRUCTION : ---------------------------------------- * This is config file used for this app, you can configure Ads, Notification, and General data from this file * some values are not explained and can be understood easily according to the variable name * value can change remotely (optional), please read documentation to follow instruction * * variable with UPPERCASE name will NOT fetch / replace with remote config * variable with LOWERCASE name will fetch / replace with remote config * See video Remote Config tutorial https://www.youtube.com/watch?v=tOKXwOTqOzA ----------------------------------------------------------------------------------------------*/ /* set true for fetch config with firebase remote config, */ public static final boolean USE_REMOTE_CONFIG = false; /* force rtl layout direction */ public static final boolean RTL_LAYOUT = false; /* config for General Application */ public static class General { /* OpenAI chat GPT endpoint url */ public String api_url = "https://api.openai.com/v1/"; /* OpenAI model */ public String param_open_ai_model = "text-davinci-003"; /* OpenAI chat param temperature */ public Double param_temperature = 0.9; /* OpenAI chat param max tokens */ public Integer param_max_tokens = 150; /* Use for dialog add API Key */ public String link_get_api_key = "https://platform.openai.com/account/api-keys"; /* maximum context keep each chat, */ public Integer limit_context = 500; /* stopper text to split human and bot chat, don't change if you don't know abou this */ public String stops_human = " Human:"; public String stops_ai = " AI:"; /* fill this values when you publish app not in google play */ public String non_playstore_market_android = ""; /* true for open link in internal app browser, not external app browser */ public boolean open_link_in_app = true; /* 3 links below will use on setting page */ public String privacy_policy_url = "https://dream-space-the-news.blogspot.com/p/privacy-policy.html"; public String more_apps_url = "https://codecanyon.net/user/dream_space/portfolio?order_by=sales"; } /* config for Ad Network */ public static class Ads { /* enable disable ads */ public boolean ad_enable = true; /* Ad networks selection, * Available ad networks : ADMOB, FAN, UNITY, IRON SOURCE, APPLOVIN */ public AdNetworkType ad_network = AdNetworkType.APPLOVIN; public boolean ad_enable_gdpr = true; /* disable enable ads each page */ public boolean ad_main_banner = true; public boolean ad_main_interstitial = true; /* show interstitial after several action, this value for action counter */ public int ad_inters_interval = 5; /* ad unit for ADMOB */ public String ad_admob_publisher_id = "pub-3239677920600357"; public String ad_admob_banner_unit_id = "ca-app-pub-3940256099942544/6300978111"; public String ad_admob_interstitial_unit_id = "ca-app-pub-3940256099942544/1033173712"; /* ad unit for FAN */ public String ad_fan_banner_unit_id = "IMG_16_9_APP_INSTALL#YOUR_PLACEMENT_ID"; public String ad_fan_interstitial_unit_id = "IMG_16_9_APP_INSTALL#YOUR_PLACEMENT_ID"; /* ad unit for IRON SOURCE */ public String ad_ironsource_app_key = "172a53645"; public String ad_ironsource_banner_unit_id = "DefaultBanner"; public String ad_ironsource_interstitial_unit_id = "DefaultInterstitial"; /* ad unit for UNITY */ public String ad_unity_game_id = "4297717"; public String ad_unity_banner_unit_id = "Banner_Android"; public String ad_unity_interstitial_unit_id = "Interstitial_Android"; /* ad unit for APPLOVIN */ public String ad_applovin_banner_unit_id = "d62dc7470d3f119b"; public String ad_applovin_interstitial_unit_id = "4e1b0167531b4dd8"; } }