wcag_AI_validation/README.md

683 B
Raw Blame History

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