🔄Update: 天气板块
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package cn.hezhaohui.common;
|
||||
|
||||
public class AIConstant {
|
||||
|
||||
public static final String SYSTEM_PROMPT = "请根据输入的 [BackGround] 和 [Content] 生成内容";
|
||||
|
||||
public static final String BACKGROUND_WEATHER = "【要求】请根据传入的今日数据,采用符合的语气,emjoy和符号,带一点想象,用简洁的语句,描述一下想象中的风景,体感,并附带一点小Tips。\n" +
|
||||
"【输出格式】今天的星露谷....(控制在30字)\\nTips。\n" +
|
||||
"【输出示例】\n" +
|
||||
"今天的星露谷天气阴沉,气温舒适,北风轻轻吹拂,风力微弱,湿度较高,仿佛连空气都带着一丝凉意。这种天气最适合在家中泡一杯热茶,或者在庭院里摆上几张藤椅,享受难得的宁静。\n" +
|
||||
"Tips:可以尝试在这样的天气里种植一些耐阴植物,比如蕨类或苔藓,为你的农场增添一抹绿意哦!\uD83D\uDE09\uD83C\uDF31";
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package cn.hezhaohui.common;
|
||||
|
||||
public class AppConstant {
|
||||
|
||||
public final static String APP_ID = "cli_a875a60984b5500c";
|
||||
public final static String APP_SECRET = "toAfmMddNEG9qWsYngs7wch0HwW4vAls";
|
||||
public final static String APP_USER_OPEN_ID = "ou_9eb248881be923bad599f342c22a4e7a";
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package cn.hezhaohui.common;
|
||||
|
||||
public class CardConstant {
|
||||
|
||||
public static final String CARD_WEATHER_ID = "AAqxas5etOJDx";
|
||||
public static final String CARD_WEATHER_VERSION = "1.0.5";
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package cn.hezhaohui.common;
|
||||
|
||||
public class WeatherConstant {
|
||||
|
||||
public static final String API_BASE_URL = "https://restapi.amap.com/v3/weather/weatherInfo";
|
||||
public static final String API_SECRET = "d0f5599ac19a5e4553ba68cd1781d2df";
|
||||
public static final String CITY_CODE_WUHAN = "420100";
|
||||
}
|
||||
Reference in New Issue
Block a user