ragflow
ragflow copied to clipboard
[Question]: Sharing LLMs/embedding models for the same tenant
Describe your problem
First of all, this is a great project and I would like to thank you for your effort on this project. 😆
I would like to share a knowledge base along with it's embedding model and a default LLM provider(with API keys) among many users.
By manually creating a new row in the user_tenant
table, I am now able to share the knowledge base to the user I would like to share. However, when I tried using the search app in ragflow, I got a Model not authorized error, the function for /my_llms
end point seems to use the current user id instead of joined tenants that is related by the user id like what you did for the knowledge base service.
I am, currently aware of this issue, https://github.com/infiniflow/ragflow/issues/2530 . But I am not sure how you will implement this feature (permission models), and I would like to ask if there are further updates.