Skip to main content
Pass the tools from 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

  1. Have an Azure OpenAI deployment that supports function calling. model is your deployment name.
  2. Put your Azure credentials in the environment and your Doconda API key (dashboard → API keys) in DOCONDA_API_KEY.
  3. 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: ready or failed. 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 at fast, €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

Yes, with any Foundry deployment that supports function calling: the tools are standard JSON Schema.
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.
In the European Union (Ireland), and the AI that processes them also runs in the EU.