441 Commits

Author SHA1 Message Date
ca01a4d1ba Merge branch 'master' into dev 2026-02-04 11:30:00 +01:00
e74e3e583c Merge branch 'master' into dev 2026-02-04 11:28:21 +01:00
bee49ec40c Merge branch 'dev' of https://manufactorum.kanium.org/Kanium-PUBLIC/KaniumCogs into dev 2026-02-04 11:28:09 +01:00
6267b1380b Whatever this is 2026-02-04 11:26:51 +01:00
16a19e6913 Merge pull request 'Added cog for fitness activity logging feature.' (#11) from feature_fitness_logger into master
Reviewed-on: #11
Reviewed-by: AllfatherHatt <allfatherhatt@noreply.localhost>
2026-02-04 11:14:40 +01:00
4ae03c9b9d Added cog for fitness activity logging feature.
At its starting state it would accept following commands:
- !getunits <activity>: Would send a JSON file with activity units via Discord message. Those files are responsible for setting up a fitness activity to log.
- !getlog <activity>: Would send a CSV file with fitness activity log. Those files contain records with timestamp, username, and reported activity measurements.
- !<activity> <value> <unit (optional)>: Would create a record with your fitness activity in corresponding CSV log file. If you choose to report different unit (feet, for example), it is going to convert as specified in its corresponding JSON file with units (to meters, for example) if the activity specified as convertable. Non-convertable activities' units are ignored.
2026-01-11 10:03:55 +05:00
90d5dd973c Added demo bot for testing. Supports image input, but does not have dialog memory or tools usage yet. 2025-08-27 21:14:17 +05:00
f195d77e67 Made Discord bot service for getting llm response out of Discord message 2025-08-27 21:13:04 +05:00
92f536d407 Fixed local import 2025-08-25 20:47:01 +05:00
a322fbae84 Renamed adapter class to MessengerClientMessageAdapter for clarity 2025-08-25 19:09:44 +05:00
bd6a55cd85 Created DiscordMessageAdapter for creating ClientMessage instance instead of a builder's class method 2025-08-25 12:32:35 +05:00
4fd5e06eaa Purged unused imports 2025-08-24 20:01:21 +05:00
1f7aa0a5ee Merge remote-tracking branch 'origin/dev' into dev 2025-08-24 19:59:31 +05:00
3b6fc28d4c Added ClientMessage -> OpenAIMessage object adapter 2025-08-24 19:59:21 +05:00
c024d85db5 Added ClientMessage -> OpenAIMessage object adapter 2025-08-24 19:59:07 +05:00
a5bfccb19a Added OpenAI response -> OpenAIMessage object adapter 2025-08-24 19:43:02 +05:00
7dc1d485b1 Finished some basic OpenAI interaction. Next are adapters. 2025-08-24 18:26:08 +05:00
8255d54e56 Added empty attachments list for test message 2025-08-24 18:25:16 +05:00
37beca0dd6 Modified typing for InputImage 2025-08-24 18:24:27 +05:00
087566811a Added __init__ to Message Builder interface 2025-08-17 15:24:01 +05:00
095bd828cf Added client message builder 2025-08-17 15:20:32 +05:00
0387dafef8 Removed openai test run code 2025-08-15 12:58:37 +05:00
0e2becc212 Commented out non-functional code 2025-08-15 12:37:57 +05:00
b69f169892 Merge remote-tracking branch 'origin/dev' into dev 2025-08-15 12:34:55 +05:00
40b3b900ac Wrong apostrophe character in comments 2025-08-15 12:34:41 +05:00
73bf08843f Update reginaldCog/messenger_clients/discord_data_models.py 2025-08-15 09:33:05 +02:00
d2edf0e60d Delete reginaldCog/messenger_clients/_common.py 2025-08-15 09:32:25 +02:00
bd4b05d2d4 Delete reginaldCog/llm_clients/discord_client_interfaces.py 2025-08-15 09:32:03 +02:00
eb7733be69 Removed non-finished code 2025-08-15 12:28:40 +05:00
131999816b File structure refactor 2025-08-15 12:28:39 +05:00
ff70196756 File structure refactor 2025-08-15 11:09:40 +05:00
180c167a43 File structure refactor 2025-08-15 11:01:21 +05:00
75af912bf5 File_structure refactor 2025-08-15 10:41:35 +05:00
a64a07511d Commented out send_long_message method and auto PEP-8 reginald.py 2025-07-18 14:31:51 +05:00
9209cc568d Made Prompt dataclass immutable and got rid out of add_message method. openai_client\models.py's test run would remain broken for now 2025-07-18 14:28:23 +05:00
7056315d5f Added llm_interface.py for connecting Discord bot with LLMs (only Open AI at the moment) 2025-07-18 14:26:35 +05:00
b77dc31ea5 Added Response dataclass for better openai's response deserialization. 2025-07-14 20:28:00 +05:00
ad59a695af Experimented with more convenient (although, less explicit) way of passing data into abstract dataclasses. 2025-07-13 19:47:37 +05:00
89b98fc5af Experimented with more convenient (although, less explicit) way of passing data into abstract dataclasses. 2025-07-13 19:45:09 +05:00
97252a8062 Added models.py in openai_client containing abstract dataclasses for use with openai
Moved all dataclasses to .openai_client.models.py
Made prompt into its own dataclass
Removed to_dict methods because dataclasses/asdict seems to be sufficient
2025-07-11 16:59:20 +05:00
0534ec6b15 Added models.py containing abstract dataclasses for Discord 2025-07-10 21:22:52 +05:00
11f39bb673 Added package structure for future use 2025-07-10 20:52:21 +05:00
247e4417f5 First attempt at making openai stuff pretty. As it uses replies instead of completions, update of openai library is required. 2025-07-05 18:16:48 +05:00
bfe22e40ee First attempt at making openai stuff pretty. As it uses replies instead of completions, update of openai library is required. 2025-07-05 18:14:49 +05:00
59902085b3 First attempt at making openai stuff pretty. As it uses replies instead of completions, update of openai library is required. 2025-07-05 17:48:36 +05:00
3d59e45e7e First attempt at making openai stuff pretty. As it uses replies instead of completions, update of openai library is required. 2025-07-05 17:46:13 +05:00
074ff8bbb4 Merge pull request 'Made improvements in AI Agent's tool get_forecast_weather' (#8) from dev into master
Reviewed-on: #8
Reviewed-by: AllfatherHatt <allfatherhatt@noreply.localhost>
2025-06-18 17:13:22 +02:00
4e22274f9b - Removed unused debug import 2025-06-18 20:10:05 +05:00
a5ed9f9e1c Applied changes made in GitHub 2025-06-17 10:57:19 +05:00
f35a18c84b Merge pull request 'development' (#1) from development into master
Reviewed-on: #1
2025-06-14 15:47:22 +02:00