Repository navigation
fix(ai-inference): review the AI Inference section and correct it from live tests - #2641
Merged
Merged
Conversation
…ment group The Management parent is retired in Platform Resource sections; Pricing and Changelog become rows of the section after Glossary.
… it works Remove Azion Cells and the Orchestrator hop from the invocation chain: a Function calls Azion.AI.run and AI Inference runs the model. Rewrite the Overview and the Glossary to their kinds, state the Platform Resource class, add the access condition, Azion.AI.models(), the model terms, and the template endpoint facts, and narrow every claim to what live calls and the owning pages support. The Guides hub drops a sentence that repeated its description.
…st practices, and LoRA pages with observed behavior Quickstart: access prerequisite, Creation Center, the underscore-only name, the objects the template creates, the placeholder 404, and the model chosen by the request body. Model invocation: an Errors section, the tool role, streaming through the binding, the response model field and extra fields, observed field bounds, and the validated optional fields. Limits gains the access-by-plan table. Best practices is rewritten, and its specimen refuses requests when the secret is not set. LoRA Fine-Tune states that no interface creates an adapter.
GPT-OSS 20B answers to openai/gpt-oss-20b. Qwen2.5 VL 3B and 7B call a tool only when it is named in tool_choice, and Nanonets-OCR-s takes no tools. The reranker scoring section goes, the embedding page states that 4096 returns a 2560-wide vector, the response examples show what the models return, and the Qwen2.5 VL 3B license is the Qwen Research License.
…I runtime reference Architecture: remove Azion Cells and Orchestrator, add the Workload to the path and the components, keep the domain on the Workload, and state what the template creates. Runtime reference: streaming returns an iterator of chunks, the response model field can differ from the id sent, unknown body fields are ignored, and Azion.AI.models() lists the ids an account can call.
…ict the verified facts Remove the internal name Cells from six Runtime, Functions, and Orchestrator pages, which now describe an isolation environment based on V8 isolates. Correct the AI Inference Starter Kit guide: the installed code reads the model from the request body, the response model is the internal id, the domain answers 404 before it propagates, and the Console paths are the current ones. Use openai/gpt-oss-20b in the gateway guide and the governance use case, state that dimensions 4096 returns 2560 values in the embeddings guide, and align About Azion Console with the current navigation menu and Creation Center.
…d failures Add Troubleshoot AI Inference in English and Portuguese, with one entry per symptom reproduced in the live tests: the binding errors (model not found or not allowed, validation errors, Request failed with status 400 and 500), GPT-OSS 20B with no content, the 2560-value embedding, an ignored field, Azion.AI undefined under azion dev, and the errors of the AI Inference Starter Kit endpoint and its Application Name field. The error bodies stay on Model invocation, which the entries link. Register the page in the sidebar between Best practices and Glossary.
7 of 14 tasks
# Conflicts: # apps/docs/src/content/docs/en/pages/devtools/azion-edge-runtime/api-reference/ai/ai.mdx # apps/docs/src/content/docs/en/pages/guides/getting-to-know-azion-console/getting-to-know-azion-console.mdx # apps/docs/src/content/docs/en/pages/guides/marketplace/templates/edge-ai-starter-kit.mdx # apps/docs/src/content/docs/en/pages/main-menu/reference/ai-inference/ai-models/qwen-2-5-vl-3b.mdx # apps/docs/src/content/docs/en/pages/main-menu/reference/ai-inference/edge-ai-reference.mdx # apps/docs/src/content/docs/en/pages/main-menu/reference/ai-inference/model-invocation.mdx # apps/docs/src/content/docs/en/pages/main-menu/reference/ai-inference/quickstart.mdx # apps/docs/src/content/docs/pt-br/pages/devtools/azion-edge-runtime/api-reference/ai/ai.mdx # apps/docs/src/content/docs/pt-br/pages/guias/conhecendo-o-azion-console/conhecendo-o-azion-console.mdx # apps/docs/src/content/docs/pt-br/pages/guias/marketplace/templates/edge-ai-starter-kit.mdx # apps/docs/src/content/docs/pt-br/pages/menu-principal/referencia/ai-inference/ai-models/qwen-2-5-vl-3b.mdx # apps/docs/src/content/docs/pt-br/pages/menu-principal/referencia/ai-inference/edge-ai-reference.mdx # apps/docs/src/content/docs/pt-br/pages/menu-principal/referencia/ai-inference/invocacao-de-modelos.mdx # apps/docs/src/content/docs/pt-br/pages/menu-principal/referencia/ai-inference/primeiros-passos.mdx
Follow the click-path rule that the style guide gained in #2596: the Quickstart no longer names the Edge Libraries section on the way to Functions.
bruno-andrade-azion
approved these changes
Nov 13, 2026
bruno-andrade-azion
pushed a commit
that referenced
this pull request
Nov 13, 2026
…paths-followup * origin/main: docs(workloads): review the Workloads section with the style guide and correct it from live tests (#2570) fix(ai-inference): review the AI Inference section and correct it from live tests (#2641) docs(templates): apply the review of the migrated template guides (#2645) docs(templates): point Deploy links to the current Marketplace catalog (MM-16236) (#2582) docs(orchestrator): split how-tos into API v4 and API v3 pages (#2584) fix(accounts): hyphenate Real-Time Purge and name the Bills tab in the permissions table (#2581) chore(lint): accept the English-only Marketplace Agreement and lower the linkcheck baseline (#2647) fix(links): point the v3 Applications reference and the guides at the current pages (#2646) docs(runtime): migrate Node.js API samples to the ES Modules handler (MM-16245) (#2592) # Conflicts: # apps/docs/src/content/docs/en/pages/deploy-journey/advanced-config/run-scripts/run-scripts.mdx # apps/docs/src/content/docs/en/pages/guides/getting-to-know-azion-console/getting-to-know-azion-console.mdx # apps/docs/src/content/docs/pt-br/pages/deploy-jornada/avancado/rodar-scripts/rodar-scripts.mdx # apps/docs/src/content/docs/pt-br/pages/guias/conhecendo-o-azion-console/conhecendo-o-azion-console.mdx
bruno-andrade-azion
pushed a commit
that referenced
this pull request
Nov 13, 2026
* origin/main: (58 commits) docs(workloads): review the Workloads section with the style guide and correct it from live tests (#2570) fix(ai-inference): review the AI Inference section and correct it from live tests (#2641) docs(templates): apply the review of the migrated template guides (#2645) docs(templates): point Deploy links to the current Marketplace catalog (MM-16236) (#2582) docs(orchestrator): split how-tos into API v4 and API v3 pages (#2584) fix(accounts): hyphenate Real-Time Purge and name the Bills tab in the permissions table (#2581) chore(lint): accept the English-only Marketplace Agreement and lower the linkcheck baseline (#2647) fix(links): point the v3 Applications reference and the guides at the current pages (#2646) docs(runtime): migrate Node.js API samples to the ES Modules handler (MM-16245) (#2592) docs(observe): use the current GraphQL dataset names across Observe and guides (#2579) docs(templates): list the Astro templates that only the showcase covered (#2595) docs(orchestrator): consolidate duplicate guides and write How it works (#2588) docs(secure): retire the pre-Workloads security journey and guide pages (#2586) docs(applications): Run Function needs only Functions; fix WEBP and CORS prerequisites (#2580) docs(fundamentals): apply the reader review and the style guide to the Fundamentals pages (#2558) fix(observe): name the query editor list instead of its position in the Grafana guides (#2643) docs(templates): migrate the legacy template guides to the current guide pattern (#2597) docs(style-guide): standardize Azion Console click paths (#2596) docs(store): name the SQL and Storage libraries by their scoped packages (#2575) fix(terminology): replace desempenho and aplicativo in pt-br pages (#2621) ...
bruno-andrade-azion
pushed a commit
that referenced
this pull request
Nov 13, 2026
…nce-soc-pci * origin/main: (59 commits) docs(console): apply the review of the Console path convention (#2644) docs(workloads): review the Workloads section with the style guide and correct it from live tests (#2570) fix(ai-inference): review the AI Inference section and correct it from live tests (#2641) docs(templates): apply the review of the migrated template guides (#2645) docs(templates): point Deploy links to the current Marketplace catalog (MM-16236) (#2582) docs(orchestrator): split how-tos into API v4 and API v3 pages (#2584) fix(accounts): hyphenate Real-Time Purge and name the Bills tab in the permissions table (#2581) chore(lint): accept the English-only Marketplace Agreement and lower the linkcheck baseline (#2647) fix(links): point the v3 Applications reference and the guides at the current pages (#2646) docs(runtime): migrate Node.js API samples to the ES Modules handler (MM-16245) (#2592) docs(observe): use the current GraphQL dataset names across Observe and guides (#2579) docs(templates): list the Astro templates that only the showcase covered (#2595) docs(orchestrator): consolidate duplicate guides and write How it works (#2588) docs(secure): retire the pre-Workloads security journey and guide pages (#2586) docs(applications): Run Function needs only Functions; fix WEBP and CORS prerequisites (#2580) docs(fundamentals): apply the reader review and the style guide to the Fundamentals pages (#2558) fix(observe): name the query editor list instead of its position in the Grafana guides (#2643) docs(templates): migrate the legacy template guides to the current guide pattern (#2597) docs(style-guide): standardize Azion Console click paths (#2596) docs(store): name the SQL and Storage libraries by their scoped packages (#2575) ... # Conflicts: # apps/docs/src/content/docs/en/pages/main-menu/compliance/pci-dss.mdx # apps/docs/src/content/docs/en/pages/main-menu/compliance/soc-2.mdx # apps/docs/src/content/docs/pt-br/pages/menu-principal/compliance/pci-dss.mdx # apps/docs/src/content/docs/pt-br/pages/menu-principal/compliance/soc.mdx
bruno-andrade-azion
pushed a commit
that referenced
this pull request
Nov 13, 2026
* origin/main: (59 commits) docs(console): apply the review of the Console path convention (#2644) docs(workloads): review the Workloads section with the style guide and correct it from live tests (#2570) fix(ai-inference): review the AI Inference section and correct it from live tests (#2641) docs(templates): apply the review of the migrated template guides (#2645) docs(templates): point Deploy links to the current Marketplace catalog (MM-16236) (#2582) docs(orchestrator): split how-tos into API v4 and API v3 pages (#2584) fix(accounts): hyphenate Real-Time Purge and name the Bills tab in the permissions table (#2581) chore(lint): accept the English-only Marketplace Agreement and lower the linkcheck baseline (#2647) fix(links): point the v3 Applications reference and the guides at the current pages (#2646) docs(runtime): migrate Node.js API samples to the ES Modules handler (MM-16245) (#2592) docs(observe): use the current GraphQL dataset names across Observe and guides (#2579) docs(templates): list the Astro templates that only the showcase covered (#2595) docs(orchestrator): consolidate duplicate guides and write How it works (#2588) docs(secure): retire the pre-Workloads security journey and guide pages (#2586) docs(applications): Run Function needs only Functions; fix WEBP and CORS prerequisites (#2580) docs(fundamentals): apply the reader review and the style guide to the Fundamentals pages (#2558) fix(observe): name the query editor list instead of its position in the Grafana guides (#2643) docs(templates): migrate the legacy template guides to the current guide pattern (#2597) docs(style-guide): standardize Azion Console click paths (#2596) docs(store): name the SQL and Storage libraries by their scoped packages (#2575) ... # Conflicts: # apps/docs/redirects/en/01.json # apps/docs/redirects/pt-br/01.json # apps/docs/src/content/docs/en/homes/architctures/by-use-case/application-and-network-security.mdx # apps/docs/src/content/docs/pt-br/homes/arquiteturas/por-solucao/seguranca-de-aplicacoes-e-redes.mdx
bruno-andrade-azion
pushed a commit
that referenced
this pull request
Nov 13, 2026
…ts-formatting * origin/main: (55 commits) docs(architectures): keep security-modernization and bot-management as API v3 versions (#2589) fix(runtime): clean up unused imports and JSDoc in the Node.js API samples (#2649) docs(platform): retire the v3 build and deploy journey pages (#2587) fix(compliance): correct the SOC report cadence and PCI DSS version (#2585) docs(runtime): fix the azion dev port and the function size limit (#2583) docs(console): apply the review of the Console path convention (#2644) docs(workloads): review the Workloads section with the style guide and correct it from live tests (#2570) fix(ai-inference): review the AI Inference section and correct it from live tests (#2641) docs(templates): apply the review of the migrated template guides (#2645) docs(templates): point Deploy links to the current Marketplace catalog (MM-16236) (#2582) docs(orchestrator): split how-tos into API v4 and API v3 pages (#2584) fix(accounts): hyphenate Real-Time Purge and name the Bills tab in the permissions table (#2581) chore(lint): accept the English-only Marketplace Agreement and lower the linkcheck baseline (#2647) fix(links): point the v3 Applications reference and the guides at the current pages (#2646) docs(runtime): migrate Node.js API samples to the ES Modules handler (MM-16245) (#2592) docs(observe): use the current GraphQL dataset names across Observe and guides (#2579) docs(templates): list the Astro templates that only the showcase covered (#2595) docs(orchestrator): consolidate duplicate guides and write How it works (#2588) docs(secure): retire the pre-Workloads security journey and guide pages (#2586) docs(applications): Run Function needs only Functions; fix WEBP and CORS prerequisites (#2580) ... # Conflicts: # apps/docs/src/content/docs/en/pages/agreements/faqs/faqs-index.mdx
bruno-andrade-azion
pushed a commit
that referenced
this pull request
Nov 13, 2026
…uide-coherence * origin/main: (56 commits) docs(architectures): keep security-modernization and bot-management as API v3 versions (#2589) fix(runtime): clean up unused imports and JSDoc in the Node.js API samples (#2649) docs(platform): retire the v3 build and deploy journey pages (#2587) fix(compliance): correct the SOC report cadence and PCI DSS version (#2585) docs(runtime): fix the azion dev port and the function size limit (#2583) docs(console): apply the review of the Console path convention (#2644) docs(workloads): review the Workloads section with the style guide and correct it from live tests (#2570) fix(ai-inference): review the AI Inference section and correct it from live tests (#2641) docs(templates): apply the review of the migrated template guides (#2645) docs(templates): point Deploy links to the current Marketplace catalog (MM-16236) (#2582) docs(orchestrator): split how-tos into API v4 and API v3 pages (#2584) fix(accounts): hyphenate Real-Time Purge and name the Bills tab in the permissions table (#2581) chore(lint): accept the English-only Marketplace Agreement and lower the linkcheck baseline (#2647) fix(links): point the v3 Applications reference and the guides at the current pages (#2646) docs(runtime): migrate Node.js API samples to the ES Modules handler (MM-16245) (#2592) docs(observe): use the current GraphQL dataset names across Observe and guides (#2579) docs(templates): list the Astro templates that only the showcase covered (#2595) docs(orchestrator): consolidate duplicate guides and write How it works (#2588) docs(secure): retire the pre-Workloads security journey and guide pages (#2586) docs(applications): Run Function needs only Functions; fix WEBP and CORS prerequisites (#2580) ... # Conflicts: # apps/docs/src/content/docs/en/pages/style-guide/content/information-architecture.mdx # apps/docs/src/content/docs/en/pages/style-guide/content/navigation-hubs.mdx # apps/docs/src/content/docs/pt-br/pages/guia-de-estilo/conteudo/arquitetura-de-informacao.mdx # apps/docs/src/content/docs/pt-br/pages/guia-de-estilo/conteudo/hubs-de-navegacao.mdx
bruno-andrade-azion
pushed a commit
that referenced
this pull request
Nov 13, 2026
…inks-use-case-closing * origin/main: (55 commits) docs(architectures): keep security-modernization and bot-management as API v3 versions (#2589) fix(runtime): clean up unused imports and JSDoc in the Node.js API samples (#2649) docs(platform): retire the v3 build and deploy journey pages (#2587) fix(compliance): correct the SOC report cadence and PCI DSS version (#2585) docs(runtime): fix the azion dev port and the function size limit (#2583) docs(console): apply the review of the Console path convention (#2644) docs(workloads): review the Workloads section with the style guide and correct it from live tests (#2570) fix(ai-inference): review the AI Inference section and correct it from live tests (#2641) docs(templates): apply the review of the migrated template guides (#2645) docs(templates): point Deploy links to the current Marketplace catalog (MM-16236) (#2582) docs(orchestrator): split how-tos into API v4 and API v3 pages (#2584) fix(accounts): hyphenate Real-Time Purge and name the Bills tab in the permissions table (#2581) chore(lint): accept the English-only Marketplace Agreement and lower the linkcheck baseline (#2647) fix(links): point the v3 Applications reference and the guides at the current pages (#2646) docs(runtime): migrate Node.js API samples to the ES Modules handler (MM-16245) (#2592) docs(observe): use the current GraphQL dataset names across Observe and guides (#2579) docs(templates): list the Astro templates that only the showcase covered (#2595) docs(orchestrator): consolidate duplicate guides and write How it works (#2588) docs(secure): retire the pre-Workloads security journey and guide pages (#2586) docs(applications): Run Function needs only Functions; fix WEBP and CORS prerequisites (#2580) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
Related issue: MM-16308 (English) and MM-16309 (Portuguese), in Jira. Their descriptions list every change by page.
Pages affected: 64 pages (32
en, 32pt-br) andsrc/nav/trees/ai-inference.json. One page pair is new. No existing permalink changes./en/documentation/platform/ai-inference/, in both languages:/(the overview),quickstart/,how-it-works/,model-invocation/,models/,limits/,best-practices/,lora-fine-tune/,glossary/,guides/, the newtroubleshooting/(/pt-br/documentacao/plataforma/ai-inference/solucao-de-problemas/), and the model pagesqwen3-30ba3b/,gpt-oss-20b/,mistral-3-small/,qwen-2-5-vl-3b/,qwen-2-5-vl-7b/,nanonets-ocr-s/,qwen3-embedding-4b/,baai-bge-reranker-v2-m3//en/documentation/use-cases/build-and-run-ai-workloads/ai-inference-architecture/and/en/documentation/devtools/runtime/api-reference/ai//en/documentation/devtools/runtime/how-it-works/, the Azion Runtime glossary, the Functions glossary, Azion Runtime debugging,/en/documentation/devtools/runtime/node/, and Orchestrator Edge Services/en/documentation/guides/application-development/frameworks/ai-inference-starter-kit/route-model-calls-through-a-gateway-function/and the use casegovern-access-to-multiple-ai-models/embed-documents-into-a-vector-table/getting-to-know-azion-console/Part 1: live tests in an account with access to AI Inference
The section had no live evidence: an earlier probe could not tell a wrong id from an account without access. This run used an account with access, a probe Function that passed the id and body to
Azion.AI.runand returned the result unchanged, and one deployment of the AI Inference Starter Kit template from Azion Console. It settled 52 facts, and the pages now state them:Access. On the Hobby and Pro plans, AI Inference is available upon request, subject to approval; on Enterprise, it is custom. Source: the pricing page.
The binding.
Azion.AI.runtakes the model id first and the body second, and no credential.modelfield in the body is ignored, and so is a field the model does not know.stream: true, the call resolves to an async iterator ofchat.completion.chunkobjects, with no[DONE]marker.Azion.AI.models()lists the ids the account can call.AIError: model not found or not allowed.Model ids. Each model answers to two forms, a repository path and a lowercase form. The
modelfield of a response carries the lowercase form, so it can differ from the id sent.gpt-oss-20bis refused: GPT-OSS 20B answers toopenai/gpt-oss-20b.Models.
tool_choicenames it. Leaving the choice to the model fails with400.dimensions4096 but returns 2560 values.text_1/text_2scoring pair.500.The template. It creates:
Its Function reads the model from the
modelfield of the body, answers on any path, takes onlyPOSTwithContent-Typeexactlyapplication/json, and has no authentication in front. Application Name refuses a hyphen. Until the deployment propagates, the domain answers404.Limits. The wait inside
Azion.AI.rundoes not count against the Function's 2-second CPU limit.Part 2: the section reviewed with the writing rules
Every page went through the full review of the documentation writing rules, and the review's findings were applied. Phase 1's facts are the source of truth. A claim that no test or Azion source supports was narrowed or removed.
Azion.AI.run, then AI Inference. "Azion Runtime" appears only where a sentence says where the Function runs.Azion.AI.run, model id, the OpenAI-compatible API, and LoRA Fine-Tune now read the same on every page that defines them. AI Inference is "a Platform Resource that runs open-source AI models on Azion's distributed infrastructure, in response to the calls your Functions send".main:Part 3: the pages outside the section
These pages carried the same wrong facts, so they are corrected here instead of in a follow-up PR.
azion logs cells,cellsConsoleEvents, andext:cells_fetch.modelis the lowercase id.404before it propagates; the guide used to say it "does not resolve".openai/gpt-oss-20b.4096returns 2560 values.main(docs(style-guide): standardize Azion Console click paths #2596), and it matches the menu in that code.Part 4: a Troubleshooting page
The section had no Troubleshooting page. Troubleshoot AI Inference is new, written from the symptoms the live tests reproduced, with one entry per symptom: the symptom, its cause, the fix, and the outcome.
model not found or not allowed, including amodelvalue reused from a response;Request failed with status 400and500;Azion.AIundefined underazion dev.Request must be a POST request with JSON body,Missing 'model' field,Invalid JSON, andAI internal error;404right after the deployment;URL and anchor changes
/en/documentation/platform/ai-inference/troubleshooting/and/pt-br/documentacao/plataforma/ai-inference/solucao-de-problemas/.Invocation path→Request path;Model call→Function code.Open the application domain→Open the workload domain;(Optional) Change the model the function calls→(Optional) Call another model.Scoringis removed.Create modal→Creation Center.Errors, LimitsAccess by plan, and Runtime APIList models.For review
opengvlab-internvl3-1b-instruct, and no other id answers. The page was left unchanged on purpose.INFERENCE_SECRETvariable, a request with no header and one withBearer undefinedboth receive401, as the page says. The path with the correct secret needs that variable in a test account and was not run.Outside this PR, unchanged
system,user, andassistantroles, and leaves outtool.### AI Inferencesections.description, and the Portuguese debugging title.How it was checked
pnpm lint:navcheck: passes.<Code>blocks match in every section pair. The Part 3 pairs got the same edits sentence by sentence..mdversions carry the same 14 sections with no MDX left in them.pnpm build:local..mdMarkdown versions of the pages, except the Troubleshooting pair.Type of change
feat)fix) — typo, broken link, wrong informationdocs) — rewrite, expansion, upkeepi18n)refactor/chore) — reviewed by UXE, no content mixed inAuthor checklist
type(scope): summary(see GOVERNANCE.md §4)title,description,meta_tags,namespace,permalink,last_reviewed— every file has the first five fields, but none haslast_reviewed, which no page in the corpus has. This PR adds one page pair with a newnamespaceand permalinks, and changes no existingpermalinkornamespacecurlrequest ran as written against the template's endpoint on November 11, and the Best practices practice 1 Function ran as written for its refusal pathpt-brupdated in this PR or follow-upi18nissue created: — everyenchange has itspt-brversion in the same commitpnpm build:local(build + frontmatter check) without errors