doconda.tools() as functions to your Azure OpenAI deployment and run the tool calls it makes. When
you ask for a presentation, the model calls create_document with format: "pptx" and gets back download links to an
editable PowerPoint and its PDF.
Steps
- Have an Azure OpenAI deployment that supports 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
create_document returns this summary to the model, which passes the links on to the user:
- An editable 16:9 PowerPoint with native charts. Its colours and fonts live in the theme, so slides added later in PowerPoint match.
status:readyorfailed. Failed documents are not charged.- Links expire after 5 minutes; the model gets fresh ones with
get_document.
How much it costs
A presentation from a sentence costs €0.15 atfast, €0.50 at standard and €1.50 at best. By default
(quality: "auto") Doconda picks the level the request needs; the tool’s max_quality argument caps it. See
pricing.
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. Upload the presentation with
upload_file, pass it in source_file_ids and ask for “our template’s design”:
the result starts from its slides. This needs standard or best; at fast the document fails with
design_needs_quality and isn’t charged.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.
Related
- Azure OpenAI: the full guide.
- Doconda in your agent: every tool
doconda.tools()returns.