Skip to content

Python: Docs could be improved around AzureChatCompletion #285

Open

Description

@gbm

This page https://learn.microsoft.com/en-us/semantic-kernel/concepts/ai-services/chat-completion/?tabs=csharp-AzureOpenAI%2Cpython-AzureOpenAI%2Cjava-AzureOpenAI&pivots=programming-language-python tells me that I need a deployed model to use chat

chat_completion_service = AzureChatCompletion(
    deployment_name="my-deployment",  
    api_key="my-api-key",
    endpoint="my-api-endpoint", # Used to point to your service
    service_id="my-service-id", # Optional; for targeting specific services within Semantic Kernel
)

But this notebook
https://github.com/microsoft/semantic-kernel/blob/main/python/samples/getting_started/03-prompt-function-inline.ipynb

shows use of
ai_model_id="gpt-3.5-turbo",
which I don't have deployed in AI Foundry - so i assume something else is going on not covered by the docs.

Activity

  1. hassanhyau commented on Mar 18, 2026

    @hassanhyau

    Hi team, I would love to pick this up as my first contribution to the Semantic Kernel docs!

    I have extensive experience building Python/Azure AI pipelines and can draft the necessary updates to clarify the AzureChatCompletion setup and usage.

    Could you assign this issue to me so I can get started on a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions