100 Commits

Author SHA1 Message Date
yihong0618
4cf8c8f8d9 fix: threadthings
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-28 16:13:17 +08:00
yihong0618
6be33a9bc0 fix: better answer it
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-28 15:41:16 +08:00
yihong0618
907b9d4fde fix: add to delete
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-25 19:22:09 +08:00
Alter-xyz
9c8638279e feat: Default skip telegraph account
It will print out the token in local terminal by default.

If Store_Token = True, it will store token in "token_key.json"

View my lite ver and try at <https://github.com/alterxyz/tg_bot_collections_lite>
2024-06-24 21:26:44 -04:00
Alter-xyz
e2ffd7fa57 feat: create telegraph account
- feat: create and store the telegraph token locally
 - check and use if there exist token in json
- feat: auto generate telegraph token for cohere.py and answer_it
- fix: optional delete other answer_it message and only leave a telegraph link messsage for clean view

Co-Authored-By: yihong <zouzou0208@gmail.com>
2024-06-23 09:14:19 -04:00
Alter-xyz
bfad22ffaf chore: black format 2024-06-23 02:43:02 -04:00
Alter-xyz
d104201b00 fix: Long message handle and decorate waiting message 2024-06-23 02:20:53 -04:00
Alter-xyz
3913c5e7a8 chore: update 2024-06-22 07:40:42 -04:00
Alter-xyz
dbed5f08b3 feat: Cohere telegra.ph
- Enable Cohere web search
- Output the entire LLM message with its source link on Telegraph
2024-06-22 07:29:00 -04:00
yihong0618
90fd74c403 fix: command
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-20 15:18:29 +08:00
yihong0618
a0220fa8aa fix: message text
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-18 21:18:03 +08:00
yihong0618
f7faaf972d fix: it
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-18 20:21:15 +08:00
yihong0618
30ffe91802 fix: ignore lastest message
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-15 15:58:06 +08:00
yihong0618
bd202851e0 fix: without command
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-15 15:55:16 +08:00
yihong0618
b9ed871d58 feat: answer it!
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-15 11:29:31 +08:00
yihong0618
785b75e994 feat: use expire dict
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-06-14 18:55:20 +08:00
yihong0618
bc3ecdb9f8 fix: add seed
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-05-30 19:25:53 +08:00
yihong0618
af5f1a9028 fix: lint 2024-05-29 19:22:19 +08:00
yihong0618
1300ae0494 fix: to 150
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-05-29 19:20:53 +08:00
yihong0618
aedeb4d2f2 feat: sd pro
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-05-20 21:21:30 +08:00
yihong0618
7938e636df ci: lint
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-05-18 13:30:53 +08:00
yihong
c42f51033a
Merge pull request #35 from alterxyz/main
feat: dify chatbot
2024-05-18 12:13:57 +08:00
Alter-xyz
ae8031bb2b feat: dify chatbot 2024-05-17 23:14:36 -04:00
yihong0618
d9411dda3e fix: 4096
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-05-18 10:07:56 +08:00
yihong0618
870a1db1fc fix: gpt token 2024-05-18 10:05:36 +08:00
Alter-xyz
4875082433 feat: dify chatbot 2024-05-15 01:54:16 -04:00
yihong0618
323adb9953 fix: support gp4o
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-05-14 09:30:51 +08:00
yihong0618
77fefcb4b5 feat: yi large and md
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-05-13 14:03:04 +08:00
yihong0618
55fd800eb1 feat: qwen 110B
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-05-08 18:15:39 +08:00
yihong
77ead6119c
Merge pull request #31 from F4ria/use-del-remove-player-history-for-gemini
use 'del' to remove the player's history for gemini
2024-04-25 17:44:22 +08:00
F4ria
f9e740300e use 'del' to remove the player's history for gemini 2024-04-23 11:45:19 +08:00
yihong0618
da8e0b809d fix: sleep time min for llama
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-19 16:54:14 +08:00
yihong0618
450c08ba54 feat: llama3 bot
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-19 16:22:43 +08:00
yihong0618
cd2185c7d6 fix: change gpt4 model and claude latest
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-18 11:12:41 +08:00
yihong0618
385df6c821 feat: sd3 api
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-18 11:01:37 +08:00
F4ria
a48187e98c increase max_tokens from 1024 to 2048 in chatgpt_photo_handler 2024-04-17 14:10:22 +08:00
F4ria
2abcc90a32 reduce code duplication and reuse image_to_data_uri 2024-04-17 14:03:26 +08:00
F4ria
19bb441533 url reader for chatgpt 2024-04-16 14:15:12 +08:00
F4ria
a0e65d8bd9 start a new chat if the message starts with 'new ' 2024-04-16 14:12:44 +08:00
F4ria
2248d649fc simplify chatgpt handler functions 2024-04-16 14:12:44 +08:00
F4ria
394dc8df99 feat: chatgpt photo stream 2024-04-16 14:12:44 +08:00
F4ria
16735551c0 feat: support chatgpt 2024-04-16 14:12:44 +08:00
yihong0618
03b7c143a3 fix: comments
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-16 12:08:26 +08:00
yihong0618
091597069d fix: change yi base model
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-16 12:08:02 +08:00
F4ria
f804005f5e support Claude and Yi handlers to extract and enrich text with URLs 2024-04-15 23:49:56 +08:00
yihong0618
bf885ef471 feat: support url read
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-04-15 20:58:51 +08:00
F4ria
53b66499ee feat: if the message starts with "new ", clear the player's history and start a new chat 2024-04-15 18:23:15 +08:00
F4ria
851af94994 correct the parameter passed to bot_reply_first in yi_handler 2024-04-11 20:36:21 +08:00
F4ria
82972d1cbd support streaming response for claude_photo_handler/gemini_photo_handler 2024-04-11 17:11:22 +08:00
F4ria
fdc9d00eb0 add a new optional argument split_text to the bot_reply_markdown function.
- The default is True, it is set to False when streaming output.
2024-04-11 16:47:16 +08:00