Skip to content

Commit

Permalink
moved bot to discord-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
yk committed Dec 24, 2022
1 parent 5284e30 commit 289d9f7
Show file tree
Hide file tree
Showing 31 changed files with 19 additions and 20 deletions.
3 changes: 0 additions & 3 deletions bot/templates/teaser_assistant_reply.msg

This file was deleted.

3 changes: 0 additions & 3 deletions bot/templates/teaser_initial_prompt.msg

This file was deleted.

File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions bot/__main__.py → discord-bot/__main__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
from bot_settings import settings

from bot import OpenAssistantBot
from bot_settings import settings

# invite bot url: https://discord.com/api/oauth2/authorize?client_id=1054078345542910022&permissions=1634235579456&scope=bot

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions bot/templates/help.msg → discord-bot/templates/help.msg
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ Commands for bot owners:

`!sync`
`!sync.guild`
`!sync.copy_global`
`!sync.copy_global`
`!sync.clear_guild`
{% endif %}
{% endif %}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Here is the conversation so far:
**{{ message.text }}**"
{% endif %}
{% endfor %}
:robot: Assistant: { human, pls help me! ... }
:robot: Assistant: { human, pls help me! ... }
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Please provide an initial prompt to the assistant.
{% if task.hint is not none %}
Hint: {{task.hint}}
{% endif %}
{% endif %}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Rank the following replies:
{% for reply in task.replies %}
{{loop.index}}: {{reply}}{% endfor %}

:scroll: Reply with the numbers of best to worst prompts separated by commas (example: "4,1,3,2").
:scroll: Reply with the numbers of best to worst prompts separated by commas (example: "4,1,3,2").
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Rank the following prompts:
{% for prompt in task.prompts %}
{{loop.index}}: {{prompt}}{% endfor %}

:scroll: Reply with the numbers of best to worst prompts separated by commas (example: "4,1,3,2").
:scroll: Reply with the numbers of best to worst prompts separated by commas (example: "4,1,3,2").
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Here is the conversation so far:
{% endif %}{% endfor %}
{% if task.hint %}
Hint: {{ task.hint }}
{% endif %}
{% endif %}
3 changes: 3 additions & 0 deletions discord-bot/templates/teaser_assistant_reply.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:robot: **Challenge: Assistant Reply**

:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}).
3 changes: 3 additions & 0 deletions discord-bot/templates/teaser_initial_prompt.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:microphone2: **Challenge: Initial Prompt**

:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}).
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
:bar_chart: **Challenge: Rank Replies**

:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}).
:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}).
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
:bar_chart: **Challenge: Rank Initial Prompts**

:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}).
:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}).
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
:ballot_box: **Challenge: Rate Summary**

:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}).
:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}).
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
:books: **Challenge: Summarize Story**

:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}).
:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}).
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
:person_red_hair: **Challenge: User Reply**

:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}).
:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}).
File renamed without changes.
File renamed without changes.

0 comments on commit 289d9f7

Please sign in to comment.