askrobots / dbbasic Public

Model-config web apps: describe the app in configuration instead of writing code. Built on Polars and DuckDB.

0 downloads

dbbasic/dbbasic_ai_service_builder_ui.py
Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 Add DBBasic crate engine logo and update README 0d628db 1 year, 2 months ago History
dbbasic_ai_service_builder_ui.py · 747 bytes · 30 lines
1#!/usr/bin/env python3
2"""
3Dbbasic Ai Service Builder UI Module
4Provides UI data structures for the service
5"""
6
7from dbbasic_unified_ui import get_master_layout
8
9def get_ai_services_dashboard():
10 """Get dashboard UI for ai_services"""
11 return get_master_layout(
12 title='Ai Services',
13 service_name='ai_services',
14 content=[
15 {
16 'type': 'hero',
17 'title': 'Ai Services',
18 'subtitle': 'Service dashboard'
19 },
20 {
21 'type': 'div',
22 'id': 'content',
23 'children': []
24 }
25 ]
26 )
27
28def get_ai_services_ui():
29 """Get default UI for ai_services"""
30 return get_ai_services_dashboard()