Skip to content

[CAI-834] Add action to refresh structured documents#2116

Merged
marcobottaro merged 207 commits intomainfrom
CAI-834-action-refresh-structured-docs
Mar 12, 2026
Merged

[CAI-834] Add action to refresh structured documents#2116
marcobottaro merged 207 commits intomainfrom
CAI-834-action-refresh-structured-docs

Conversation

@mdciri
Copy link
Copy Markdown
Collaborator

@mdciri mdciri commented Mar 5, 2026

List of Changes

Add GitHub action to refresh structured documents

Motivation and Context

in this way the new Manage knowledge base workflow can update the vector index without re-creating it from scratch

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Chore (nothing changes by a user perspective)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

mdciri and others added 30 commits November 6, 2025 16:17
* save query and evaluate functions refactoring

* dynamodb query put

* presidio

* changeset

* Update chatbot app queries

* Update chatbot-monitor scripts

* Update chatbot-monitor scripts

* Update chatbot queries.py

---------

Co-authored-by: mdciri <marco.cirillo@uqido.com>
Co-authored-by: Marco Domenico Cirillo <59966344+mdciri@users.noreply.github.com>
* save query and evaluate functions refactoring

* dynamodb query put

* presidio

* changeset

* Update chatbot app queries

* Update chatbot-evaluator modules

* Update poetry files

* Update lambda function

* Update chatbot monitor scripts

* Update chatbot-evaluate scripts

* Update chatbot-evaluate lamda function

* Update chatbot-monitor lambda function

* Add changeset

* Update chatbot-monitor monitor.py

* Update chatbot-monitor monitor.py

* Align to CAI-629

* Update lambda function to consider only unique records

* Update lambda function in chatbot-monitor

* Update chatbot-evaluate lambda function

* Update chatbot-evaluate tests

* Update loggers in chatbot monitor, index, and evaluate

* Update loggers in chatbot, monitor, index, and evaluate

* Update dockerfile for tests

* Add new changeset

* fix: logger param

* fix: comment langfuse add score. We will use SQS queue in another pr

* comment calls to presidio. In a future pr we will use SQS for them

---------

Co-authored-by: batdevis <devis.battisti@uqido.com>
* Update chatbot settings

* Update chatbot Dockerfiles

* Update chatbot modules

* Update chatbot-monitor to get release app version

* Add changeset

* Update version as tag product

* Update changeset
* fix double entry

* event test payload

* docker compose test

* pytest

* pytest

* docker compose test and volumes

* aws motoserver file

* move feedback update to chatbot-monitor

* remove spacy download

* fix test json file

* changeset

* remove duplicate test files

* gitignore autoflake report files

* remove unused imports

* fix log level param

* fix database envs for docker compose

* chore: remove unused env var on .env.example

* sqs local listener

* docker compose

* feat: clean workflow

* docs

* docker compose ports

* chore: Dockerfiles refactor

* Fix loop in the langfuse trace creation

* Update spaces and indentation

* remove logs

* Update crate_langfuse_trace() method to respect API

* Update crate_langfuse_trace() method to respect API

* Removed recursive method in process_span()

* Removed timestamp

* Fix unique records to be processed

* Removed timestamp to logger

* fix bug in monitor.py

* defence from NoneType values

* Update poetry downgrading ragas

* Evaluation accepts mock test

* Update lambda function to wrtie mock scores

* [CAI-729] ecoding decoding AWS SQS payload (#1984)

* Update API to write in SQS monitor

* Add compression and decompression scripts to chatbot, chatbot-evaluate and chatbot-monitor

* Update scripts to compress and decompress payload from/to SQS

* Add changeset

* Update .changeset/pink-kings-enter.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix float number error on scores

* fix compose

* docker files cleanup

* Update return type of process_span() method

---------

Co-authored-by: mdciri <marco.cirillo@uqido.com>
Co-authored-by: Marco Domenico Cirillo <59966344+mdciri@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add package.json to parser app

* Add changeset, update package-lock

* Update apps/parser/package.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add package.json to parser app

* Add changeset, update package-lock

* Update apps/parser/package.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Add puppeteer dependency in parser app

* Add changeset

* Update .changeset/three-cups-change.md

Co-authored-by: marcobottaro <39835990+marcobottaro@users.noreply.github.com>

* Update apps/parser/package.json

Co-authored-by: marcobottaro <39835990+marcobottaro@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: marcobottaro <39835990+marcobottaro@users.noreply.github.com>
Base automatically changed from CAI-821-update-cittadino-index to main March 12, 2026 10:47
@marcobottaro marcobottaro dismissed MarBert’s stale review March 12, 2026 10:47

The base branch was changed.

@github-actions
Copy link
Copy Markdown
Contributor

Branch is not up to date with base branch

@marcobottaro it seems this Pull Request is not updated with base branch.
Please proceed with a merge or rebase to solve this.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 12, 2026

Jira Pull Request Link

This Pull Request refers to the following Jira issue CAI-834

@marcobottaro marcobottaro merged commit 0098a48 into main Mar 12, 2026
12 checks passed
@marcobottaro marcobottaro deleted the CAI-834-action-refresh-structured-docs branch March 12, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants