Commit graph

40 commits

Author SHA1 Message Date
Alexey Skobkin 05cf6d7b48 Changing default model to LLaMa3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-05-06 00:10:32 +00:00
Alexey Skobkin 7aa45048a2 Changing default model to LLaMa3
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build was killed
2024-05-06 00:04:23 +00:00
Alexey Skobkin db92c01131 Merge pull request 'URL scheme whitelist and Inline Queries.' (#21) from fix_chat_type_middleware_nil_pointer into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #21
2024-03-12 22:20:06 +00:00
Alexey Skobkin 7bb5c65d59
Closes #14. Adding inline queries. Also small refactoring of context prompt based on RequestContext.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-03-13 01:18:01 +03:00
Alexey Skobkin ca005a9370
Extracting request context creation to separate file. 2024-03-13 00:32:52 +03:00
Alexey Skobkin d890faf461
Fix #20 disallowing any URL except http:// and https://. Extracting helper methods to separate file. 2024-03-13 00:32:18 +03:00
Alexey Skobkin 993c71ca71 Merge pull request 'Fixing a bunch of bugs and making some improvements' (#19) from fix_chat_type_middleware_nil_pointer into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #19
2024-03-12 20:08:50 +00:00
Alexey Skobkin 3fa7c2434f
Fix #17. Implementing slog-based logger for telego and passing it into the library.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-03-12 23:05:52 +03:00
Alexey Skobkin d3c0bc28f1
Fix #18. Escaping underscore symbols to avoid Telegram's Bot API "Markdown" (v1) parser errors. 2024-03-12 23:01:05 +03:00
Alexey Skobkin 38fcd1a5a9
Adding API URL suffix to the README.md. 2024-03-12 22:13:32 +03:00
Alexey Skobkin bfacbb9f98
Tweaking summarizer prompt a bit. 2024-03-12 22:12:58 +03:00
Alexey Skobkin a2a37d0256
Trying to fix #13. Adding logging to the middleware. 2024-03-12 22:10:34 +03:00
Alexey Skobkin 5f55cec0e2
fix #15 slog usage. Also adding more logging. 2024-03-12 22:07:22 +03:00
Alexey Skobkin ec56188332 Merge pull request 'Request context prompt fixes and improvements.' (#12) from fix_context_prompt into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #12
2024-03-12 03:48:33 +00:00
Alexey Skobkin 71dad1bda8
Request context prompt fixes and improvements.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-03-12 06:47:48 +03:00
Alexey Skobkin 7f074c16b5 Merge pull request 'Request context prompt fixes and improvements.' (#11) from fix_context_prompt into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #11
2024-03-12 03:32:01 +00:00
Alexey Skobkin 19da4c6b34
Request context prompt fixes and improvements.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-03-12 06:31:07 +03:00
Alexey Skobkin a1debf7908 Merge pull request 'Request contexts and some logging changes.' (#10) from fix_logging into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #10
2024-03-12 03:15:55 +00:00
Alexey Skobkin dc5ad2c580
Implementing request context and adding it to /hey command processing.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-03-12 06:12:25 +03:00
Alexey Skobkin 1343d0c4f8
Logging 'typing' notification only in Debug level. 2024-03-12 05:14:50 +03:00
Alexey Skobkin 118693d4e4
Trying to send error about failed reply. 2024-03-12 05:14:23 +03:00
Alexey Skobkin 5035a73884 Merge pull request 'Fixing private requests counter.' (#8) from feature_4_configuration into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #8
2024-03-11 20:25:35 +00:00
Alexey Skobkin fe5db2b06f
Fixing private requests counter.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-03-11 23:24:46 +03:00
Alexey Skobkin 5dea0a7522 Merge pull request 'Implementing simple stats counter (fix).' (#7) from feature_4_configuration into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #7
2024-03-11 20:19:53 +00:00
Alexey Skobkin eecb5aa09b
Implementing simple stats counter (fix).
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-03-11 23:19:05 +03:00
Alexey Skobkin 48e51f3851 Merge pull request 'Implementing simple stats counter' (#6) from feature_4_configuration into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #6
2024-03-11 20:17:14 +00:00
Alexey Skobkin 2ed9c2f6dc
Implementing simple stats counter.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-03-11 23:15:27 +03:00
Alexey Skobkin 2272570377
Also changing image tag for build step.
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-10 05:57:59 +03:00
Alexey Skobkin f775c1257e
Changing build image to Alpine to avoid linking errors.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-03-10 05:55:28 +03:00
Alexey Skobkin 55b44d3207
Making build and publish run in the same pipeline.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-03-10 05:36:44 +03:00
Alexey Skobkin 0bfd307c4c
Making build and publish run in the same pipeline.
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-10 05:31:55 +03:00
Alexey Skobkin dd6a3a53dd
Removing branch condition from Docker image build step.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-03-10 05:28:38 +03:00
Alexey Skobkin 11d12c5858 Merge pull request 'Building Docker image in CI and README.md update' (#1) from feature_docker into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #1
2024-03-10 02:21:58 +00:00
Alexey Skobkin b20c248fd9
Adding Dockerfile and adding image building to the Drone pipeline. Also adding running instructions to the README.md.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-03-10 05:19:50 +03:00
Alexey Skobkin 8939b2fb62
Refactoring structure from single file to several separated services. Adding new feature: "summarize" to generate bullet points for provided link.
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-10 04:51:01 +03:00
Alexey Skobkin 971ac147ac
VERY SIMPLE Drone pipeline.
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-08 05:28:09 +03:00
Alexey Skobkin 7c7307ca87
VERY SIMPLE Drone pipeline. 2024-03-08 05:26:27 +03:00
Alexey Skobkin bab452b52e
LICENSE file. 2024-03-08 05:19:26 +03:00
Alexey Skobkin e5404a1cd2
initial. Draft of SIMPLE LLM bot for Telegram chat. 2024-03-08 05:18:45 +03:00
Alexey Skobkin 2bd584b3b6 Initial commit 2024-03-08 00:21:08 +00:00