Go to file
Nicola Leonardi 77162be166 restservice development 2 2025-11-19 17:40:41 +01:00
dependences restservice development 2025-11-19 17:34:08 +01:00
restserver/routers restservice development 2025-11-19 17:34:08 +01:00
.env restservice development 2025-11-19 17:34:08 +01:00
README.md restservice development 2025-11-19 17:34:08 +01:00
requirements.txt restservice development 2025-11-19 17:34:08 +01:00
wcag_validator.py restservice development 2025-11-19 17:34:08 +01:00
wcag_validator_RESTserver.py restservice development 2025-11-19 17:34:08 +01:00

README.md

WCGA AI validator

  • Install the required dependencies (inside the docker folder)
pip install -r requirements.txt

.env variable

mllm_end_point_openai=https://hiis-accessibility-fonderia.cognitiveservices.azure.com/openai/deployments/gpt-4o/chat/completions?api-version=2025-01-01-preview mllm_api_key_openai= mllm_model_id_openai=gpt-4o

mllm_end_point_local=https://vgpu.hiis.cloud.isti.cnr.it/api/chat mllm_api_key_local= #mllm_model_id_local=gemma3:12b mllm_model_id_local=gemma3:4b

use_openai_model=False # use True if openai else False

For the CLI version use:

wcag_validator.py

For the restService use:

python wcag_validator_RESTserver.py