How to enable collaborate on the Prompt flow instance?

86371849 0 Reputation points
2024-07-09T13:09:16.0933333+00:00

Description of the Issue:

I want my team to collaborate on the Prompt flow instance, but the team can see it only in Read-only mode.

Problem Summary:

We are trying to create a system similar to ChatGPT using Azure OpenAI, with SharePoint and MS SQL as our data sources. Initially, we indexed the data using Azure AI Search Service and placed Azure OpenAI in front. However, this implementation did not yield the expected results. After further research, we discovered that using Prompt Flow might help us design the complete logic. We created an Azure AI Hub, set up a project, and granted my team access to it. We then opened the project in Azure ML Studio and created a Prompt Flow to customize the logic. The issue we are facing is that the Prompt Flow is in Read-Only mode for my team members, preventing them from collaborating on a single Prompt Flow instance.

Error Message:

There is no specific error message; the issue is with the collaboration functionality being restricted to Read-Only mode for team members.

System Information:

  • Azure AI Hub
  • Azure ML Studio
  • Prompt Flow
  • Azure AI Search Service
  • SharePoint and MS SQL as data sources

What We've Tried:

  • Created an Azure AI Hub and a project within it.
  • Granted team access to the project.
  • Opened the project in Azure ML Studio and created a Prompt Flow.
  • Attempted to collaborate but encountered Read-Only mode restrictions

Request:

Is there a way to enable collaboration on a single Prompt Flow instance so my team can work on it together?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,704 questions
Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
845 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,563 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,596 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. YutongTie-MSFT 48,156 Reputation points
    2024-07-09T21:06:24.6433333+00:00

    Hello,

    Thanks for reaching out to us, Prompt flow is available independently as an open-source project on GitHub, with its own SDK and VS Code extension. Prompt flow is also available and recommended to use as a feature within both Azure AI Studio and Azure Machine Learning studio

    It seems you are working in ML studio and you are leverage Azure AI Hub, then you need provide permission to your team for both Azure AI Hub and Azure ML Service.

    Add your team as users to the workspace of your Azure ML Service with necessary permission here- https://learn.microsoft.com/en-us/azure/machine-learning/how-to-identity-based-service-authentication?view=azureml-api-2&tabs=cli#to-create-a-workspace-with-multiple-user-assigned-identities-use-one-of-the-following-methods

    Share your resource to your group in AI Hub-

    https://learn.microsoft.com/en-us/azure/ai-studio/concepts/ai-resources#shared-azure-resources-and-configurations

    And you have other services you need to add the permission as well, please go to the portal and add the permission accordingly - https://learn.microsoft.com/en-us/azure/role-based-access-control/rbac-and-directory-admin-roles#azure-roles

    More information about the env - https://learn.microsoft.com/en-us/azure/ai-studio/how-to/create-manage-compute-session#add-packages-in-a-private-feed-in-azure-devops

    I hope this helps! Let us know if you need more information.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    0 comments No comments

  2. Sina Salam 6,811 Reputation points
    2024-07-09T22:18:43.4566667+00:00

    Hello 86371849,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    Problem

    I understand that you are looking for a way to enable collaboration on a single Prompt Flow instance so your team can work on it together and remove Read-Only mode restrictions.

    Solution

    To enable collaboration on a single Prompt Flow instance within Azure ML Studio, you need to ensure proper permissions and collaboration settings are configured correctly. Prompt Flow allows you to create and compare multiple prompt variants. This agility helps you refine your prompts iteratively. Of course, you must have ensured that your Prompt Flow orchestrates the necessary components from Azure AI Search Service, SharePoint, and MS SQL as data sources. https://learn.microsoft.com/en-us/azure/ai-studio/how-to/prompt-flow

    To help you troubleshoot and resolve the Read-Only mode issue for your team members:

    • Ensure that your team members have been granted the correct roles and permissions within the Azure AI Hub project. The required role for full collaboration access might be "Contributor" or a custom role with the necessary permissions.
    • Ensure that the project and Prompt Flow in Azure ML Studio have been shared with the team members with the correct permissions
    • Verify that the collaboration settings within Azure ML Studio are configured to allow editing.
    • If you are using Azure Active Directory (Azure AD) groups to manage access, make sure that your team members are part of the appropriate Azure AD group that has the required permissions.
    • Review the Azure ML Studio documentation on project collaboration to ensure that all steps have been followed correctly. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-manage-workspace-access?tabs=azure-studio

    References

    Source: Samples using AI and Azure SQL DB Accessed, 7/9/2024.

    Source: Prompt flow-hybrid-search-rag Accessed, 7/9/2024.

    Source: Build your own private ChatGPT style app with enterprise-ready architecture. Accessed, 7/9/2024.

    Source: Improving RAG performance with Azure AI Search and Azure AI prompt flow. Accessed, 7/9/2024.

    Accept Answer

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful ** so that others in the community facing similar issues can easily find the solution.

    Best Regards,

    Sina Salam

    0 comments No comments