feat: a2ui interface to enablee the LLM to give structured information
This commit is contained in:
1
migrations/20260727120000_add_a2ui_messages/down.sql
Normal file
1
migrations/20260727120000_add_a2ui_messages/down.sql
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE a2ui_messages;
|
||||
10
migrations/20260727120000_add_a2ui_messages/up.sql
Normal file
10
migrations/20260727120000_add_a2ui_messages/up.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE a2ui_messages (
|
||||
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
session_id INTEGER NOT NULL,
|
||||
message_id INTEGER NOT NULL,
|
||||
json TEXT NOT NULL,
|
||||
FOREIGN KEY (session_id) REFERENCES sessions(id),
|
||||
FOREIGN KEY (message_id) REFERENCES messages(id)
|
||||
);
|
||||
|
||||
CREATE INDEX a2ui_messages_session_id ON a2ui_messages(session_id, id);
|
||||
Reference in New Issue
Block a user