Alexey Skobkin
f28670834d
Model configuration and small prompt improvements ( #24 )
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
- Model can be configured using ENV
- Summarization prompt improved
- Single text request prompt improved
- Chat context prompt improved
Co-authored-by: Alexey Skobkin <skobkin-ru@ya.ru>
Reviewed-on: #24
2024-08-16 00:47:07 +00:00
Alexey Skobkin
d65f61db82
Rolling back summarizing to Mistral
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-05-06 00:28:41 +00:00
Alexey Skobkin
c4665338db
Changing default model to LLaMa3 ( #22 )
...
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
Changing default model to LLaMa3
Reviewed-on: #22
2024-05-06 00:15:36 +00:00
Alexey Skobkin
7bb5c65d59
Closes #14 . Adding inline queries. Also small refactoring of context prompt based on RequestContext.
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
3fa7c2434f
Fix #17 . Implementing slog-based logger for telego and passing it into the library.
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
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
dc5ad2c580
Implementing request context and adding it to /hey command processing.
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
fe5db2b06f
Fixing private requests counter.
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-03-11 23:24:46 +03:00
Alexey Skobkin
eecb5aa09b
Implementing simple stats counter (fix).
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-03-11 23:19:05 +03:00
Alexey Skobkin
2ed9c2f6dc
Implementing simple stats counter.
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-03-11 23:15:27 +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.
continuous-integration/drone/push Build is passing
2024-03-10 04:51:01 +03:00