Gareth Davidson
c3c7a1701a
run prettier with new params
2023-01-01 20:57:35 +00:00
Jack Michaud and Andreas Köpf
604ad2f8e7
style: run pre-commit hooks
2023-01-01 18:58:01 +01:00
Jack Michaud and Andreas Köpf
898113ef8d
fix: correct typing for OasstApiClient
2023-01-01 18:58:01 +01:00
Jack Michaud and Andreas Köpf
5870148f0a
test: add complete tests for oasst_api_client
2023-01-01 18:58:01 +01:00
Jack Michaud and Andreas Köpf
036c4b6c6c
test: add contract test for discord bot
2023-01-01 18:58:01 +01:00
onegunsamurai and GitHub
aa2d426bbc
Add oasst-shared folder to discord-bot container ( #241 )
...
* Add oasst-shared folder to discord-bot container
- Container was missing oasst-shared folder, thus was failing, due to missing package error.
- Add bash code block to README.MD (Co-authored-by: Vladyslav <v.bukhantsov@dexilon.io >)
2023-01-01 18:57:45 +01:00
Alex Ott and GitHub
46892f67e7
Add an error handler to the discord bot ( #235 )
...
* add error handler for the bot
2023-01-01 12:46:38 +01:00
Alex Ott and Andreas Köpf
4d76355dc8
update permissions check for guild settings
2023-01-01 10:34:47 +01:00
Alex Ott and Andreas Köpf
550d695a58
merge upstream/main
2023-01-01 10:34:47 +01:00
kostiak and Andreas Köpf
bd2a7e93e3
fixing issue #202
2022-12-31 17:53:04 +01:00
Alex Ott
8067dc8f78
rename TOKEN env var to BOT_TOKEN
2022-12-31 03:52:09 -08:00
Alex Ott
a7b7487611
remove example table from sql schema
2022-12-30 22:55:24 -08:00
Alex Ott
1bdd02c821
fix breaking api changes
2022-12-30 22:52:57 -08:00
Alex Ott
6c3a2eac03
rename task.py to test_user_input.py
2022-12-30 17:48:22 -08:00
Alex Ott
004a868cb4
update user input validator
2022-12-30 17:44:20 -08:00
Alex Ott
37f30f4e31
update readme
2022-12-30 17:34:09 -08:00
Alex Ott
0fb7bfd27a
Add more settings and refactor other md files into README.md
2022-12-30 17:30:56 -08:00
Andreas Köpf and Andreas Köpf
1595e8ee54
fix import order
2022-12-31 00:18:55 +01:00
Andreas Köpf and Andreas Köpf
42e9a77456
further pre-commit fixes
2022-12-31 00:18:55 +01:00
Andreas Köpf and Andreas Köpf
ee14554e1b
role='user' -> role='prompter'
2022-12-31 00:18:55 +01:00
Andreas Köpf and Andreas Köpf
f6ea90187c
missing rename in api_client
2022-12-31 00:18:55 +01:00
Andreas Köpf and Andreas Köpf
8b225430a4
BREAKING-CHANGES: Renaming several models/database objects + API protocol
...
person -> user
work_package -> task
post -> message
thread -> message_tree
2022-12-31 00:18:55 +01:00
Alex Ott
aff3f18b07
document code structure
2022-12-30 05:56:04 -08:00
Alex Ott
150fc67bfd
switch to using Pydantic for bot config
2022-12-30 05:48:56 -08:00
Alex Ott
6cccd74e34
switch to loguru
2022-12-30 05:28:51 -08:00
Alex Ott
708011e6a0
move EXAMPLEs.md
2022-12-30 05:14:16 -08:00
Alex Ott
84d52effee
remove address todo comments
2022-12-30 05:11:36 -08:00
Alex Ott
b81eeebe9e
switch to using pre-commit
2022-12-30 04:35:45 -08:00
Alex Ott
65c078fb9f
pre-commit changes
2022-12-30 04:12:54 -08:00
Alex Ott
98955441d1
explain text_label logic
2022-12-30 03:21:21 -08:00
Alex Ott
d71ded1364
send the task completion message in the guild's configured channel
2022-12-30 03:15:22 -08:00
Alex Ott
e4b097edff
add database schema and guild setting
2022-12-30 02:59:52 -08:00
Alex Ott
63e2120825
add completion message to task and add message labeling
2022-12-30 02:02:46 -08:00
Alex Ott
9c15258fd1
move api_client.py back to the correct position
2022-12-29 16:25:37 -08:00
Alex Ott
26c1b4eaab
merge upstream main
2022-12-29 16:24:55 -08:00
Alex Ott
a2a0e1608d
fix: parse TaskRequestType enum correctly
2022-12-29 15:45:01 -08:00
Alex Ott
bb3b0e7397
update api client to upstream version
2022-12-29 15:00:20 -08:00
Alex Ott
27ab051e22
Merge branch 'main' of https://github.com/LAION-AI/Open-Assistant into LAION-AI-main
2022-12-29 14:57:51 -08:00
AlexanderHOtt
84146f2396
remove database file (luckly it was empty)
2022-12-29 14:42:55 -08:00
AlexanderHOtt
221d3396f7
clean up code
2022-12-29 14:39:02 -08:00
AlexanderHOtt
9fd2e76917
add initial task loop for initial_prompt and rank_initial_prompts
2022-12-29 14:20:56 -08:00
Igor Miagkov
efafc0173a
added support for collective tasks
2022-12-29 21:32:17 +04:00
AlexanderHOtt
99303ed265
move example.py to _example.py so it doesn't load on startup
2022-12-28 21:29:19 -08:00
AlexanderHOtt
c8834aa9e3
add a lot of examples
2022-12-28 21:24:53 -08:00
AlexanderHOtt
3ce6ab80d6
initial bot structure
2022-12-28 16:43:14 -08:00
Yannic Kilcher
6452bb860d
moved bot to discord-bot
...
added playbook to deploy dev machine
added playbook to deploy dev machine
added next.js font module, updated fonts, updated login page
replaced logos, changed logo on login and header
added 404 and email confirmation pages, changed discord and github buttons to show conditionally
also removed unused imports, fixed one spelling error, and minor styling changes
Quick format to the authenticated user page, updated header with user profile, styling updates
fixed html encoding
added checkout for release
re-vamped release config and ports
2022-12-25 11:35:54 +01:00