send image with telegram message

This commit is contained in:
tsukasa
2023-09-28 18:30:07 +08:00
parent ff4875dae5
commit 026bfc1caf
4 changed files with 47 additions and 22 deletions
+4 -3
View File
@@ -1,10 +1,10 @@
instance_id = "Mia"
fullname = "Mia"
llm_model_name = "gpt-3.5-turbo-16k-0613"
llm_model_name = "gpt-4"
max_token_size = 16000
#enable_function =["add_event"]
#enable_kb = "true"
enable_timestamp = "true"
enable_timestamp = "false"
owner_prompt = "我是你的主人{name}"
contact_prompt = "我是你的朋友{name}"
owner_env = "knowledge"
@@ -18,6 +18,7 @@ content = """
你在收到我的信息后,按如下规则处理
1. 在第一次接受到一条信息时,优先尝试用合适的关键字查询去查询知识库。
2. 如果信息中包含一段知识库的查询结果,尝试用查询结果处理,如果还是不能处理,尝试递增index继续查询。
3. 如果知识库返回不了结果了,请尽力返回
3. 如果要返回知识库结果条目,在消息开头附上他的json字符串
4. 如果知识库返回不了结果了,请尽力返回。
"""