Created by: oblivisheee
This pull request introduces significant new features and improvements to the assistant module, including the addition of chat management functionality, database integration, and Docker support.
New Features and Improvements:
-
Chat Management:
- Added new endpoints for managing chat sessions, including creating, retrieving, and listing chats. (
README.md
) - Implemented chat session management in
chat.rs
, including initializing, sending messages, and handling responses. (assistant/src/chat.rs
)
- Added new endpoints for managing chat sessions, including creating, retrieving, and listing chats. (
-
Database Integration:
- Added database connection and chat CRUD operations using SurrealDB. (
assistant/src/db.rs
) - Defined SQL functions for chat operations in
functions.surql
. (assistant/sql/functions.surql
)
- Added database connection and chat CRUD operations using SurrealDB. (
-
Configuration and Dependencies:
-
Docker Support:
- Added a Dockerfile for building and running the assistant module. (
assistant/Dockerfile
) - Included Justfile recipes for building and pushing Docker images. (
assistant/justfile
)
- Added a Dockerfile for building and running the assistant module. (
Workspace Configuration:
-
Cargo Workspace:
- Updated the workspace configuration to include the new assistant module and added metadata. (
Cargo.toml
)
- Updated the workspace configuration to include the new assistant module and added metadata. (