This quickstart gives you a fast, standalone demo for Azure AI Foundry Content Understanding using the prebuilt-invoice analyzer.
From the repository root:
python -m pip install -r quickstart\requirements.txt
.envCreate a .env file in the repository root:
copy .env.template .env
Then update .env with your Azure AI Foundry endpoint and key:
CONTENTUNDERSTANDING_ENDPOINT=https://<your-resource-name>.cognitiveservices.azure.com
CONTENTUNDERSTANDING_KEY=<your-api-key>
Use the public sample invoice:
python quickstart\demo.py
Or pass your own public URL or local file path:
python quickstart\demo.py https://example.com/invoice.pdf
python quickstart\demo.py .\data\my-invoice.pdf
The demo shows:
See the main README for the full walkthrough, additional demos, and background information.