Giter Club home page Giter Club logo

Comments (3)

dpayne-voss avatar dpayne-voss commented on July 19, 2024

This gets my vote as well. To achieve this while we wait for the feature, I have made the following chage:

image

And then I manually added the extension ID to the corresponding persona in CosmosDB.

Then, when a user starts a persona chat, the correct extension is automatically set. I also hide the list of extensions on the chat home page to avoid our users from getting confused and picking the wrong thing.

from azurechat.

fjlouis avatar fjlouis commented on July 19, 2024

This is a much cleaner way of doing it. This gets my vote as well.

from azurechat.

sonphnt avatar sonphnt commented on July 19, 2024

@dpayne-voss That is a good solution for now but while trying your solution, I realized that we might probably get the wrong idea from @thivy by making Persona and Extension isolated.

I am confused now. I tried to log in with 2 different users, Admin, and user.

With admin user, I tried to create 1 Extension to AI Search and published it, Also created 1 Persona.
Login with user, on the UI portal, it does not show "Reporting" menu, which is good, but users also see Personas and Extensions menu where they can create their own Persona, so each user can define their own Persona and Extensions, not the one defined by Admin.

But the user also sees the extensions created by Admin without permission to publish but is still able to Save it. This confuses me what is the main purpose of letting users save an extension created by Admin? The user can create extensions as well.

In a nutshell:
Admin can NOT see Extensions and Personas created by User.
Users can see Extensions from the admin if they are published, but can not see Admin's Personas.

from azurechat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.