microsoft / promptflow

Build high-quality LLM apps - from prototyping, testing to production deployment and monitoring.
https://microsoft.github.io/promptflow/
MIT License
9.55k stars 871 forks source link

[BUG] Manage Connections Documentation Uses Outdated api_version #3864

Open CraigCallender opened 5 days ago

CraigCallender commented 5 days ago

Describe the bug Following the documentation here and scrolling to the bottom. It would appear that one could add the auth_mode YAML field with a value of meid. What isn't noted is that a value of meid for auth_mode isn't supported until api_version: "2024-02-15-preview". The fact that higher up in this document the example file shows an api_version: "2023-03-15-preview" makes implementing MEID authentication via following this document impossible.

How To Reproduce the bug Steps to reproduce the behavior, how frequent can you experience the bug:

  1. Follow the documentation and attempt to create a connection via MEID auth. You'll get an unauthorized.

Expected behavior A promptflow connection is created using MEID as auth.

Screenshots If applicable, add screenshots to help explain your problem.

Running Information(please complete the following information):

Additional context Add any other context about the problem here.