Skip to content

Commit 4289472

Browse files
committed
refactor: creates ai/ directory
1 parent 9e88bce commit 4289472

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Configures the new Slack Assistant features, providing a dedicated side panel UI
8484
* The `@assistant.thread_started` listener receives an event when users start new app thread.
8585
* The `@assistant.user_message` listener processes user messages in app threads or from the app **Chat** and **History** tab.
8686

87-
`llm_caller.py`, which handles OpenAI API integration and message formatting. It includes the `call_llm()` function that sends conversation threads to OpenAI's models.
87+
`ai/llm_caller.py`, which handles OpenAI API integration and message formatting. It includes the `call_llm()` function that sends conversation threads to OpenAI's models.
8888

8989
## App Distribution / OAuth
9090

listeners/assistant/assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from slack_sdk.errors import SlackApiError
88

99
from ..views.feedback_block import create_feedback_block
10-
from ..llm_caller import call_llm
10+
from ai.llm_caller import call_llm
1111

1212

1313
# Refer to https://tools.slack.dev/bolt-python/concepts/assistant/ for more details

listeners/events/app_mentioned.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from slack_sdk import WebClient
33
from slack_bolt import Say
44

5-
from ..llm_caller import call_llm
5+
from ai.llm_caller import call_llm
66
from ..views.feedback_block import create_feedback_block
77

88
"""

0 commit comments

Comments
 (0)