-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Newly created Collection available for all the users when authentication is enabled #1867
Comments
How did you create it in the UI? The box takes a few args, including the collection type (assumed to be personal if no passed). |
Document Selection >> Add Collection then type |
However i also created the collection with src/make_db.py: by adding all the files in the folder user_path3 then
then still didn't showing UserData3 in the collections for all the users although the embedding are stored in db_dir_UserData3 folder And when adding to the command like:
then it showing the following error:
Note: I created the authentication server through the LDAP |
When authentication is enabled, I want to create a shared collection, such as
UserData
, that remains accessible to all users at all times, regardless of who created it.I encountered an issue when attempting to create a new collection (
UserData2
). Here’s the process I followed:python generate.py --base_model=meta-llama/Llama-2-13b-chat-hf --score_model=None --langchain_modes="['UserData',UserData2,LLM,MyData]" --user_path=user_path --use_auth_token=True --max_seq_len=4096 --max_max_new_tokens=2048 --max_new_tokens=2048 --min_new_tokens=128 --prompt_type=llama2 --enable_stt=False --enable_tts=False --auth_filename=$auth_filename --auth_access=open --guest_name=avser --auth="[(admin, admin)]"
The issue is that the newly created collection (
UserData2
) is only accessible to the user who created it, similar to howMyData
functions. However, I would like this collection to behave likeUserData
, where it is available to all users globally, even when authentication is enabled.However When authentication is disabled during collection creation, the collection is accessible to all users as expected.
so Could you please provide guidance on how to create a shared collection like
UserData
that remains accessible to all users, even when authentication is enabled?The text was updated successfully, but these errors were encountered: