Commit Graph

55 Commits

Author SHA1 Message Date
Raven Scott 50d947b9c2 adding REPEAT_PENALTY 2023-05-08 19:10:15 -07:00
Raven Scott 385234e05a Remove the abuse of looping functions 2023-05-08 19:10:15 -07:00
Raven Scott 63a4486745 Remove any @ symbol to remove spam pings 2023-05-08 19:10:15 -07:00
Raven Scott 45ef05ac45 Revert "Adding urban dictionary lookups"
This reverts commit f87542132e.
2023-05-08 19:10:15 -07:00
Raven Scott ca758c5898 Adding urban dictionary lookups 2023-05-08 19:10:15 -07:00
Raven Scott 6531b633f7 Move overflow delay from static to .env 2023-05-08 19:10:15 -07:00
Raven Scott 99ea986bbd Fix Caching web reading the web: Append last message rather than add to the conversation. 2023-05-08 19:10:15 -07:00
Raven Scott 637c5182a3 remove \t 2023-05-08 19:10:15 -07:00
Raven Scott 5516e4c20b remove redunant code 2023-05-08 19:10:15 -07:00
Raven Scott 9489068b8e cleaner output from web scrapes 2023-05-08 19:10:15 -07:00
Raven Scott f211fe2d67 update 2023-05-08 19:10:15 -07:00
Raven Scott 932474ec63 update 2023-05-08 19:10:15 -07:00
Raven Scott fb08f0b592 return on error 2023-05-08 19:10:15 -07:00
Raven Scott 691b3137c3 Adding: Web Access allowing the AI to browse URLs 2023-05-08 19:10:15 -07:00
Raven Scott f272839ab1 Fix ShowSystemLoad 2023-05-08 19:10:15 -07:00
Raven Scott b1c1f6995a Adding refresh interval to system load status 2023-05-08 19:10:15 -07:00
Raven Scott 38f6c38f6d Moving REFRESH_INTERVAL to .env 2023-05-08 19:10:15 -07:00
Raven Scott 2771052f23 lowercase Thinking it looks better :P 2023-05-08 19:10:15 -07:00
Raven Scott c20ba21180 adding embed to generation processor 2023-04-28 16:48:51 +02:00
Raven Scott 38fba90d30 adding embed to generation processor 2023-04-28 16:44:07 +02:00
Raven Scott 735b94360a MAX_TOKENS to int 2023-04-27 03:42:52 +02:00
Raven Scott da5e2e6e7d adding N_THREADS and MAX_TOKENS vars 2023-04-27 02:56:27 +02:00
Raven Scott 1d0b225438 Bug Fix: Chunk messages if response is too large 2023-04-17 04:39:24 +02:00
Raven Scott c97e525d45 adding aprox 2023-04-17 04:02:16 +02:00
Raven Scott 3806892349 remove odd artifact 2023-04-17 03:57:02 +02:00
Raven Scott b72875e744 Adding timer 2023-04-17 03:56:09 +02:00
Raven Scott fffef84119 Making system status reporting better 2023-04-17 03:17:15 +02:00
Raven Scott 4e69329501 Adding Memory usage to generation 2023-04-17 02:30:38 +02:00
Raven Scott 4ff67ff28b Adding CPU Percentage during generation. 2023-04-17 02:07:41 +02:00
Raven Scott c2396f7e5d Moving init_prompt for chat to .env 2023-04-17 00:50:04 +02:00
Raven Scott 7b3e0c1db2 Removing post proceess of output 2023-04-16 16:22:57 +02:00
Raven Scott 5f8e57d121 Adding a space before input. Format: User: message Assistant: message 2023-04-16 14:48:18 +02:00
Raven Scott cc770e617d fixing prompt 2023-04-16 14:47:04 +02:00
Raven Scott ec7dbde761 dockerize 2023-04-12 16:17:18 +02:00
Raven Scott a6117c729c update readme 2023-04-11 23:46:58 +02:00
Raven Scott 1a11d281ec fixing duplicate message bug 2023-04-11 17:38:47 +02:00
Raven Scott 7d68f426d0 fixing duplicate message bug 2023-04-11 16:36:15 +02:00
Raven Scott d90ceab967 Moving ChannelID list to .env, Parsing array instead of checking both vars 2023-04-11 14:50:19 +02:00
Raven Scott 8eb1b34d4e rand 2023-04-10 19:00:21 +02:00
Raven Scott 56e4725052 rand 2023-04-10 19:00:03 +02:00
Raven Scott 2aa337997f fix again 2023-04-10 05:18:15 +02:00
Raven Scott 632ab64b71 fix 2023-04-10 05:11:36 +02:00
Raven Scott fd92269e3c make pretty 2023-04-10 04:38:38 +02:00
Raven Scott 40e865521d Adding busy state tracker to the setPrecence activty for the bot allowing users to know when the bot is busy 2023-04-10 04:12:42 +02:00
Raven Scott b1087d554b Create sendRand and sendRandDM to handle message events 2023-04-10 03:50:45 +02:00
Raven Scott 999a554661 moving busy state global so users cant spawn overrun processes 2023-04-10 03:28:41 +02:00
Raven Scott c14635769d feat: Add error handling for empty response in chatbot conversation
This commit adds a new block of code to handle cases where the chatbot generates an empty response, which was previously causing a delay of one message in the conversation. The new code selects a random message from a predefined list of human-like responses to notify the user that an error has occurred, then resets the conversation history and deletes the memory map for that user. This ensures that subsequent messages from the same user will not be delayed due to the empty response.
2023-04-10 02:53:37 +02:00
Raven Scott 27d8ad1f78 rand 2023-04-10 02:42:58 +02:00
Raven Scott 0953663059 Adding in more responses for when users refresh manually 2023-04-10 02:10:02 +02:00
Raven Scott da270f2f60 changing the chat pre content 2023-04-10 02:00:51 +02:00