Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenAI][Inference] Introducing changes for v2025-01-01-preview #44032

Merged
merged 9 commits into from
Feb 21, 2025

Conversation

jpalvarezl
Copy link
Member

@jpalvarezl jpalvarezl commented Feb 5, 2025

Code generation for the spec changes introduced here: Azure/azure-rest-api-specs#32220

CHANGELOG

  • For ChatCompletionOptions:

    • store (bool), which enables saving outputs for FT (distillation)
    • metadata (string/string map), used with store
    • reasoning_effort (enum string, low, medium, high) to configure how hard o1 thinks
    • developer message role (system replacement for o1 and newer models) now available. Other than the name, it's identical
    • prediction added for predicted outputs
    • modalities added ("text" | "audio") for audio input support
    • audio added for audio content options (voice, format, etc.)
    • user role message content part representation for audio input added
    • AZURE-ONLY User Security Context (for Defender for Cloud Integration)
      • Azure chat request bodies now have a user_security_context property
      • These are JSON objects that have application_name, end_user_id, end_user_tenant_id, and source_ip, all optional string properties
  • For ChatCompletions:

    • audio output added as ChatMessageAudioContentItem
    • parity usage updates:
      • PromptTokensDetails gets AudioTokens
      • CompletionTokensDetails gets AcceptedPredictionTokens, RejectedPredictionTokens, and AudioTokens

@github-actions github-actions bot added the OpenAI label Feb 5, 2025
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

com.azure:azure-ai-openai

@jpalvarezl jpalvarezl marked this pull request as ready for review February 20, 2025 15:15
@jpalvarezl jpalvarezl merged commit 24fe18a into main Feb 21, 2025
18 checks passed
@jpalvarezl jpalvarezl deleted the jpalvarezl/v2025_01_01_preview_inference branch February 21, 2025 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants