openai and doconda (or @ai-sdk/azure and @doconda/sdk) and pass doconda.tools() as functions to your
Azure OpenAI deployment. When you ask for a presentation, the model calls create_document with format: "pptx" and you
get the PowerPoint file and its PDF with their download links.
Steps
- Have an Azure OpenAI deployment with function calling.
modelis your deployment name. - Put your Azure credentials in the environment and your Doconda API key (dashboard → API keys) in
DOCONDA_API_KEY. - Connect the tools and ask for the presentation:
AzureOpenAI() reads AZURE_OPENAI_ENDPOINT, AZURE_OPENAI_API_KEY and OPENAI_API_VERSION; the AI SDK’s azure
reads AZURE_RESOURCE_NAME and AZURE_API_KEY.
What you get back
- An editable 16:9 PowerPoint with native charts and a theme that slides you add later follow, plus its PDF.
status:ready,ready_with_warnings,needs_revieworfailed(not charged).- Links expire after 5 minutes; the agent gets fresh ones with
get_document.
FAQ
Does it work with Azure AI Foundry?
Does it work with Azure AI Foundry?
Yes, with any Foundry deployment that supports function calling: the tools are standard JSON Schema.
Can it start from our corporate template?
Can it start from our corporate template?
Yes. Pass the presentation as a source and ask for “our template’s design”: the result starts from its slides (at
standard and best quality).Where are the documents stored?
Where are the documents stored?
In the European Union (Ireland), and the AI that processes them also runs in the EU.
How much does it cost?
How much does it cost?
You pay per delivered document; failed ones are not charged. See pricing.
Keep reading
- Azure OpenAI: the full guide.
- Quickstart.