Comments (3)
This gets my vote as well. To achieve this while we wait for the feature, I have made the following chage:
![image](https://private-user-images.githubusercontent.com/153562549/303715505-bf5c56a2-3140-4673-9c81-a1feb55f3ac4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTA5ODMwMDEsIm5iZiI6MTcxMDk4MjcwMSwicGF0aCI6Ii8xNTM1NjI1NDkvMzAzNzE1NTA1LWJmNWM1NmEyLTMxNDAtNDY3My05YzgxLWExZmViNTVmM2FjNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMyMVQwMDU4MjFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wZTJiNzliMjczNjNjNDg0NjFmNDc1OGM0MjJkYjU2NDFmYjA3ODRkMzM2NmMwMTFjYmMxMzc3ZDI3YTgyZDU4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.WJCONdzkSgsH_WVWWUfxkfRII-4inCxJjh72j4sSx7E)
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.
This is a much cleaner way of doing it. This gets my vote as well.
from azurechat.
@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)
- Editing / Deleting Personas should be only allowed for the Autor and Admins
- When testing locally using .env.local with all azure services configured, error raised in MicAudioSource.js and also RestError: Authorization failed.
- When trying to attach a file I get this error - RestError: Authorization failed
- When using Dall-E, pre-checked prompt variables are not used.
- FEATURE: Ability to choose between GPT-3.5 and GPT-4 when creating a persona
- FEATURE: Ability to specify the temperature for a Persona
- Image upload fails HOT 2
- Azure AI Search extension not working HOT 7
- Impossible to deploy the App HOT 1
- Enable / Disable features? HOT 3
- Error after deployment from VSCode in middleware withtout changes HOT 1
- AriaLabel is missing in main-menu.tsx
- Search Extension Based on AI Search Returning Incomplete or Incorrect Citations
- Add function to allow for multiple AI Agents for Azure Deployed Endpoints for LLMs
- v2 Upgrade commit detail HOT 1
- Vision Issue - 400 HOT 2
- Chat start buttons UX does not differentiate blank from extension conversations
- Adding extensions doesnt work unless additional fields are added to .env
- ServiceNow Integration
- Deployment of AzureChat via Azure Developer CLI successful, but WebApp shows ":( Application Error" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azurechat.