Skip to content

Commit

Permalink
Merge pull request #133 from hoomano/kroussel/remove_session_title_ge…
Browse files Browse the repository at this point in the history
…neration

remove session title generator
  • Loading branch information
xbasset authored Jun 19, 2024
2 parents 3e0e395 + b9acf55 commit c3f2408
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 180 deletions.
7 changes: 0 additions & 7 deletions background/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@ For now, Mojodex's Background manages 8 processes:

This process is called each time the user sends a message to a task. It updates (or creates if not exists) the title and summary of the task from the ongoing conversation.

### FirstSessionMessage
- Resource: `background/app/routes/first_session_message.py`
- Cortex: `background/app/models/cortex/first_session_message_cortex.py`
- Launched from: `backend/app/models/session.py`

This process is called when a user starts a new session. It generates a session title that could be useful to identify the session later, in a history interface for example.

### TaskToolExecution
- Resource: `background/app/routes/task_tool_execution.py`
- Cortex: `background/app/models/cortex/task_tool_execution_cortex.py`
Expand Down
2 changes: 0 additions & 2 deletions background/app/http_routes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from routes.parse_website import ParseWebsite
from routes.update_document import UpdateDocument
from routes.first_session_message import FirstSessionMessage
from routes.event_generation import EventsGeneration
from routes.task_tool_execution import TaskToolExecution
from routes.extract_todos import ExtractTodos
Expand All @@ -9,7 +8,6 @@ class HttpRouteManager:
def __init__(self, api):
api.add_resource(ParseWebsite, '/parse_website')
api.add_resource(UpdateDocument, '/update_document')
api.add_resource(FirstSessionMessage, '/first_session_message')
api.add_resource(EventsGeneration, '/events_generation')
api.add_resource(TaskToolExecution, '/task_tool_execution')
api.add_resource(ExtractTodos, '/extract_todos')
Expand Down
28 changes: 0 additions & 28 deletions background/app/instructions/generate_title_prompt.mpt

This file was deleted.

48 changes: 0 additions & 48 deletions background/app/models/cortex/first_session_message_cortex.py

This file was deleted.

57 changes: 0 additions & 57 deletions background/app/models/session_title_generator.py

This file was deleted.

38 changes: 0 additions & 38 deletions background/app/routes/first_session_message.py

This file was deleted.

0 comments on commit c3f2408

Please sign in to comment.