Skip to content

Conversation

@hirokiterashima
Copy link
Member

Changes

  • Add new /api/chatbot endpoint for CRUD operations for a chatbot
  • Add new /api/aws-bedrock/chat endpoint for sending chat messages to AWSBedrock
  • Add service and DAO layer classes for Chatbot

Test prep

  1. Test with feat(Student): Persistent Chatbot WISE-Client#2252
  2. Add properties to application-dockerdev.properties
aws.bedrock.api.key=
aws.bedrock.runtime.endpoint=
  1. Create database schema
create table chatbot_chats (
    id bigint not null auto_increment,
    runId bigint not null,
    workgroupId bigint not null,
    title varchar(255),
    createdAt datetime not null,
    lastUpdated datetime not null,
    isDeleted bit not null default 0,
    index chatbotChatsRunIdIndex (runId),
    index chatbotChatsWorkgroupIdIndex (workgroupId),
    constraint chatbotChatsRunIdFK foreign key (runId) references runs (id),
    constraint chatbotChatsWorkgroupIdFK foreign key (workgroupId) references workgroups (id),
    primary key (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

create table chatbot_messages (
    id bigint not null auto_increment,
    chatId bigint not null,
    role varchar(20) not null,
    content text not null,
    timestamp datetime,
    nodeId varchar(30) not null,
    index chatbotMessagesChatIdIndex (chatId),
    constraint chatbotMessagesChatIdFK foreign key (chatId) references chatbot_chats (id) on delete cascade,
    primary key (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1. Follow testing instructions on feat(Student): Persistent Chatbot WISE-Client#2252

@hirokiterashima hirokiterashima self-assigned this Jan 5, 2026
@hirokiterashima hirokiterashima requested a review from breity January 5, 2026 23:01
@hirokiterashima hirokiterashima merged commit 36909d0 into develop Jan 14, 2026
2 checks passed
@hirokiterashima hirokiterashima deleted the persistent-chatbot branch January 14, 2026 23:45
@hirokiterashima
Copy link
Member Author

🎉 This PR is included in version 1.14.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants