Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
81b4b66
docs: Add background to readme
ShaylaJan Jun 2, 2025
0891109
API Scaffolding for endpoints
kapsterdam Jul 8, 2025
04dd9ba
second endpoint
kapsterdam Jul 9, 2025
f0f29c4
fixed small issue with to_message
kapsterdam Jul 9, 2025
43f7a51
Fixed broken import
kapsterdam Jul 10, 2025
ef95e9b
Updated response format with draft
kapsterdam Jul 14, 2025
17011e4
updated README
kapsterdam Jul 14, 2025
0f00c30
Corrected some minor mistakes
kapsterdam Jul 14, 2025
a486573
Updated /chat with audio capabilities.
kapsterdam Jul 15, 2025
8387bf0
Added database connector
kapsterdam Jul 15, 2025
dc6c63d
added dockerfile
kapsterdam Jul 15, 2025
9ef53ff
ignore node_modules and .next
jurb Jul 15, 2025
70d516b
first commit frontend
jurb Jul 15, 2025
6b07e07
update readme
jurb Jul 15, 2025
aa7ea1c
Added support for multiple intents
kapsterdam Jul 15, 2025
6ec2f52
Merge branch 'feature/app-frontend' into feature/app-scaffold
jurb Jul 15, 2025
517a5d2
add audio chat endpoint wrapper
jurb Jul 16, 2025
1e1a390
do not ignore svelte /lib 😅
jurb Jul 16, 2025
bb354ab
accept different endpoints for the recording button
jurb Jul 16, 2025
1292440
add an endpoint test page
jurb Jul 16, 2025
f118315
one .gitignore per project
jurb Jul 16, 2025
eca9b43
WIP construct layout
jurb Jul 16, 2025
f22b7f6
add api store and apidebugger component
jurb Jul 16, 2025
07fc48b
add figma screenshots
jurb Jul 16, 2025
a150bce
show more matches
jurb Jul 16, 2025
4900245
fix card css
jurb Jul 16, 2025
1d1ae6e
add localstorage
jurb Jul 16, 2025
aa3f505
add localstorage clear button
jurb Jul 16, 2025
03dcfb4
blow up svg border
jurb Jul 16, 2025
d8f280f
listen for a similarity and redirect if it's below 0.5
jurb Jul 16, 2025
f3a21a3
chevron left was feeling lonely
jurb Jul 16, 2025
18578b3
Update communication style guidelines in CLAUDE.md
jurb Jul 16, 2025
c7e2bea
Add ButtonSketchySecondary component and update choose page
jurb Jul 16, 2025
6ca726b
Add session management with localStorage persistence
jurb Jul 16, 2025
256c3e3
Add intentcode and session_id support to API endpoints
jurb Jul 16, 2025
3bd1a0d
Convert construct route to dynamic slug-based routing
jurb Jul 16, 2025
79a2179
Add button-sketchy-secondary-small.svg icon
jurb Jul 16, 2025
723ff5e
Update UI components and add draft text display
jurb Jul 17, 2025
c0f7e1f
keep out search engines
jurb Jul 18, 2025
86fa121
Ammend ignore
jurb Jul 18, 2025
535a382
Ammend ignore
jurb Jul 18, 2025
7ec197b
Add clear stores and navigation functionality to Bezwaar versturen bu…
jurb Jul 18, 2025
757ce8a
Improve routing logic for high-confidence AI matches
jurb Jul 18, 2025
253a118
add figma screenshot
jurb Jul 20, 2025
c22dd4e
Add TypeScript to remaining Svelte pages
jurb Jul 20, 2025
44b4de5
Clean up layout file
jurb Jul 20, 2025
52f538c
Implement centralized error handling system
jurb Jul 20, 2025
d201059
Add loading states to construct page
jurb Jul 20, 2025
b77b049
Make similarity threshold configurable
jurb Jul 20, 2025
1e1c33d
Improve semantic structure and design of home page
jurb Jul 20, 2025
ba03dd3
Update homepage content to Dutch
jurb Jul 20, 2025
69797f7
Add error display test buttons for debugging
jurb Jul 20, 2025
d572c2c
Fix layout: make left panel scrollable with fixed recording section
jurb Jul 20, 2025
45a041c
Move record button 50px higher from bottom
jurb Jul 20, 2025
3f379f7
Adjust record button position - move additional 20px higher
jurb Jul 20, 2025
eebcbbc
Add 15px top margin to pill container
jurb Jul 20, 2025
58e2024
Add comprehensive localization implementation plan
jurb Jul 20, 2025
95d36af
Implement Phase 1 of localization system
jurb Jul 20, 2025
a0ab7f1
Configure localization to always default to Dutch
jurb Jul 20, 2025
8b24bad
Fix SSR initialization error for svelte-i18n
jurb Jul 20, 2025
068ca4c
Fix header visibility and remove duplicate language switcher
jurb Jul 20, 2025
0be06a7
Fix header to always show on all pages including homepage
jurb Jul 20, 2025
9c8bbb6
Add robust i18n initialization with proper loading states
jurb Jul 20, 2025
1561691
Remove debug console logs
jurb Jul 20, 2025
1f7bcfa
Connect header language dropdown to localization system
jurb Jul 20, 2025
0401d1d
Fix TypeScript and Svelte 5 compliance in Header
jurb Jul 20, 2025
0b22b43
Add complete localization to /1 route pages
jurb Jul 20, 2025
18bf49b
Add localization support to components
jurb Jul 20, 2025
5b51c9f
Add comprehensive error message localization
jurb Jul 20, 2025
15b3733
Adjust button font size
jurb Jul 20, 2025
48ea8ff
remove bind from checklist, gave error and does not need to be reacti…
jurb Jul 20, 2025
c2f5bbf
Add internationalization to concept 2 routes
jurb Jul 21, 2025
b2a0272
Translate tags
jurb Jul 21, 2025
8707381
Svelte5 syntax
jurb Jul 21, 2025
75faddc
All yap (scenario 2) endpoints
kapsterdam Jul 21, 2025
bb86b43
Adjust api calls to changes backend
jurb Jul 22, 2025
45e3c35
connect yap to record page (accumulated transcript works! :))
jurb Jul 22, 2025
3da11e0
ignore my TODO for now
jurb Jul 22, 2025
e93e07e
Send /yap responses to store (and log store for debugging)
jurb Jul 22, 2025
f3587ea
Implement keyboard record on 'E' and push to talk
jurb Jul 22, 2025
44c8409
Add hidden /test-devices page for microphone testing
jurb Jul 22, 2025
4859d42
Logging env variables
kapsterdam Jul 22, 2025
b0e6d24
Logging of env variables modified
kapsterdam Jul 22, 2025
f29e287
Go to correct page
jurb Jul 22, 2025
7f3b856
WIP concept 2 pages
jurb Jul 22, 2025
97f735c
spelling
jurb Jul 23, 2025
bbb6aa9
Transcribing animation for record button
jurb Jul 24, 2025
2a804ac
/Analyse returns language flag and /chat returns user_text (transcrip…
kapsterdam Jul 24, 2025
eb94848
Refactor recording functionality into reusable TranscriptionRecording…
jurb Jul 24, 2025
c531782
pnpm lint all the things
jurb Jul 24, 2025
58372ce
add confetti
jurb Jul 24, 2025
cfa3a61
Add end page to /1 with confetti
jurb Jul 24, 2025
3e13195
correct flow for /1
jurb Jul 24, 2025
f154fd2
copy end and feedback flow to /2
jurb Jul 24, 2025
fcb9dc9
Built in 10 second timeout for transcribe after recording, inapp erro…
jurb Jul 24, 2025
4ccbc89
Update recording timeout to 20 seconds with internationalized error m…
jurb Jul 24, 2025
4f65ef7
Add 2-minute inactivity timer for concept routes
jurb Jul 24, 2025
a9e71a7
increase timeout to 30 seconds temporarily (message still says 20 sec)
jurb Jul 24, 2025
5795e4c
remove debug components
jurb Jul 24, 2025
bed8abd
Add sophisticated multilingual animated subtitle for concept 1
jurb Jul 24, 2025
0534265
formatting
jurb Jul 24, 2025
a843ed7
lower threshold
jurb Jul 24, 2025
5ea6c5b
Implement bottom-anchored chat with auto-scroll and animations
jurb Jul 24, 2025
24d35d6
Update readme
jurb Jul 25, 2025
824c489
WIP: style improvements agents-chat
jurb Jul 25, 2025
6a86480
Remove border radius from most places 🥲
jurb Jul 25, 2025
f2f3b24
Cloud whisper + updated prompts + user_text is returned in chat
kapsterdam Jul 28, 2025
1e2ffa0
slugify with a proper library
jurb Jul 28, 2025
9e1390d
WIP agents-chat styling
jurb Jul 29, 2025
496a22c
Normal font in call-out bubble, size tweaks
jurb Jul 31, 2025
e828230
Get all matches
jurb Jul 31, 2025
3500cc9
Dynamic text in pill
jurb Jul 31, 2025
8aa1ac6
Change terug in 'Opnieuw beginnen' and wipe apistore
jurb Jul 31, 2025
167c15d
Right intent above the draft
jurb Jul 31, 2025
aaba34b
repetitive things that should be in a layout file
jurb Jul 31, 2025
9fbbebb
much shorter delay
jurb Jul 31, 2025
f9f7cf1
copy
jurb Jul 31, 2025
9e765eb
slightly longer confetti
jurb Jul 31, 2025
329bb4e
add 'jouw agent'
jurb Jul 31, 2025
2def048
Updated BERT model and /chat system message
kapsterdam Aug 4, 2025
3353ab2
Change language via API response 🎉
jurb Aug 4, 2025
cd3dc9e
Remove confindence stuff, does not exist
jurb Aug 4, 2025
b81f70b
Add complete feedback system with Svelte 5 compatibility
jurb Aug 4, 2025
524b882
feedback formatting
jurb Aug 4, 2025
a5ab7d7
Implement complete voice feedback transcription system
jurb Aug 4, 2025
94fba22
Simplify agent-chat
jurb Aug 4, 2025
0675655
fix close button to right concept
jurb Aug 4, 2025
44e8ccc
Tighten up agent-chat
jurb Aug 4, 2025
9e13f1d
even better agent chat
jurb Aug 4, 2025
a0cee26
Privacy statements
jurb Aug 4, 2025
e6ad49c
adjust callout text
jurb Aug 4, 2025
b10f5e6
Comment out unavailable languages
jurb Aug 5, 2025
c57c7a1
More translations
jurb Aug 5, 2025
e8fc48c
Reset language to dutch on concept resets
jurb Aug 5, 2025
1dabf04
Remove unused styles
jurb Aug 5, 2025
ab37e71
Add sparkles to 'toekomst!'
jurb Aug 5, 2025
c9bac0a
Tweak sparkles
jurb Aug 5, 2025
315ba9b
Even more confetti tweaks
jurb Aug 5, 2025
d63cdf7
Fix record button click events in feedback form
jurb Aug 5, 2025
87da6a3
Fix record button clickability by removing negative z-index
jurb Aug 5, 2025
3ddd6df
Fix confetti visibility by adjusting z-index
jurb Aug 5, 2025
b69be2d
Position confetti behind heading using DOM order
jurb Aug 5, 2025
285940c
Fix processSteps to react to language changes
jurb Aug 5, 2025
96e2fcf
text in one block
jurb Aug 5, 2025
e0deba9
Fix avatar chat message
jurb Aug 5, 2025
174c616
Internationalize hardcoded strings in construct page
jurb Aug 5, 2025
24aa4ca
Internationalize progress text in ChecklistCard
jurb Aug 5, 2025
a194d10
Internationalize ChecklistCard subtitle default value
jurb Aug 5, 2025
6707c7e
Make ChecklistCard subtitle reactive to language changes
jurb Aug 5, 2025
6a9f998
More i18n
jurb Aug 5, 2025
dbae51b
Replace loading indicator with ChatMessage in construct page
jurb Aug 5, 2025
15f48ba
Add optional language parameter to all API endpoints
jurb Aug 5, 2025
7735a7c
Merge branch 'feature/app-frontend' into app-scaffold-translation-stub
jurb Aug 5, 2025
34cfaa4
Implement comprehensive i18n support for AI assistant backend
jurb Aug 5, 2025
1f8fcfb
we also need to create yap_log if it doesn't exist?
jurb Aug 5, 2025
a50f938
More translations
jurb Aug 5, 2025
02eb5b2
More translations
jurb Aug 5, 2025
66af1bb
translate intents according to recognized language
jurb Aug 5, 2025
4db4add
please not here already
jurb Aug 5, 2025
81a3497
Translate prompts for more reliable localized responses, fix language…
jurb Aug 5, 2025
757380a
Correct name on the chat bubble
jurb Aug 5, 2025
01e0696
Correct name on the chat bubble
jurb Aug 5, 2025
d535d16
cloud whisper now working correctly
kapsterdam Aug 6, 2025
3c952ea
tiny mistake with exception handling
kapsterdam Aug 6, 2025
02ed8da
Merge pull request #4 from Amsterdam-AI-Team/app-scaffold-translation…
kapsterdam Aug 6, 2025
90c1e05
added feedback endpoint
kapsterdam Aug 7, 2025
57c0dd3
Merge pull request #5 from Amsterdam-AI-Team/app-scaffold-translation…
kapsterdam Aug 7, 2025
0c0431c
fixed feedback endpoint with feedback field instead of text
kapsterdam Aug 7, 2025
092b554
Merge pull request #6 from Amsterdam-AI-Team/app-scaffold-translation…
kapsterdam Aug 7, 2025
ced6fb4
added support for json payload
kapsterdam Aug 7, 2025
c02ffb9
Merge pull request #7 from Amsterdam-AI-Team/app-scaffold-translation…
kapsterdam Aug 7, 2025
e671193
Merge branch 'feature/app-frontend' into feature/app-scaffold
jurb Aug 7, 2025
0d1066a
Fixed transcription with Azure
Aug 19, 2025
684df1e
Changed prompt
kapsterdam Sep 10, 2025
c84869d
Disabled ability to type in the textarea
jurb Sep 23, 2025
ed1354e
turned header logo into hard reset
jurb Sep 23, 2025
6fe4dfa
Update agent success / concluding message
jurb Sep 23, 2025
7650484
Increase inactivity timer by ridiculous amount
jurb Sep 23, 2025
9d2ff8a
Fixed draft in chat
kapsterdam Sep 23, 2025
463abaa
Merge branch 'feature/app-scaffold' into feature/app-scaffold-bugfix-…
kapsterdam Sep 23, 2025
b2464e4
Merge pull request #8 from Amsterdam-AI-Team/feature/app-scaffold-bug…
kapsterdam Sep 23, 2025
3663ebd
fixed arguments for make_chain
kapsterdam Sep 23, 2025
734be52
Merge pull request #9 from Amsterdam-AI-Team/feature/app-scaffold-bug…
kapsterdam Sep 23, 2025
4523c6e
fixed make_chain
kapsterdam Sep 23, 2025
b493d8b
Merge pull request #10 from Amsterdam-AI-Team/feature/app-scaffold-bu…
kapsterdam Sep 23, 2025
d02996f
New draft data structure for concept 1
jurb Sep 23, 2025
c6d4c76
fix grammar mistake
jurb Sep 23, 2025
7d3ddf5
lower threshold for intent matching
jurb Sep 23, 2025
d535b3b
Fix YAP generation and transcription issues
jurb Sep 24, 2025
f3ad02c
dont parse and message anymore
jurb Sep 24, 2025
b89d117
translation
jurb Sep 24, 2025
4a6ea28
Revert "Fix YAP generation and transcription issues"
jurb Sep 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
213 changes: 2 additions & 211 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,211 +1,2 @@
# Adapt to your needs. This version includes typical data files we work with, along with the default python template.

# Text / html
*.csv
*.txt
*.html

# Geo data
*.gml
*.shp
*.cpg
*.dbf
*.shx
*.prj
*.gpkg
*.tfw
*.TIF
*.tif

# Pointcloud data
*.laz
*.las
*.LAZ
*.ply

# Images
*.png
*.jpg
*.bmp

# Numpy compressed
*.npz

# QGIS projects
*.qgz

# Mac OS
*.DS_Store


### Default .gitignore for python ###
# see https://github.com/github/gitignore/blob/main/Python.gitignore

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# AzureML
*.amlignore
*.amltmp
*.ipynb_aml_checkpoints

# Secrets
my_secrets.py
.DS_Store
frontend/TODO.md
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ We will do some technical experiments here for the Human AI services installatio

## Background

De groeiende mogelijkheden van AI maken nieuwe vormen van interactie mogelijk. Hoe zien inwoners de interactie met de gemeente voor zich in de toekomst? Blijft er behoefte aan menselijk contact, waarbij technologie een faciliterende rol kan spelen? Of is het mogelijk om met vergaande automatisering toch rekening te houden met de menselijke maat?

## Folder Structure

* [`data`](./data): Sample data for demo purposes
Expand Down
Loading