langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
52.7k stars 7.71k forks source link

[Feature Request] Comprehensive Enhancements in API Management, File Management, Log Tracking, Reporting, and Permission Control #11133

Open yjc980121 opened 3 hours ago

yjc980121 commented 3 hours ago

Self Checks

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Hello everyone,

To further enhance user experience and operational efficiency, here are several feature suggestions:

Enhancement of API Key Management:

It is recommended to add a "User" or "Note" column to the API Key management interface to facilitate the distinction between different users and enhance management efficiency. Introducing a usage record feature for API Keys would aid in monitoring and maintaining security. Support for API Interface Documentation:

Providing openapi.json or yaml files for API interfaces will ease the process of importing them into testing tools, such as Postman. It is hoped that the dify official team will initiate a dify project on apifox, which would greatly facilitate developers in using the apifox tool for API testing and documentation management.

Building an Extensible Ecosystem:

It is suggested to allow users to create and share openapi extension projects, providing only code and openapi.json files. This model, similar to Stable Diffusion Web UI Extensions, not only enriches project functionality but also promotes community participation and innovation.

File Management:

It is suggested to implement a viewable list of uploaded files, including user, time, filename, and file source (App or Knowledge Base). A secure file management interface should also be provided to allow users to view and manage uploaded files for tracking and maintenance purposes.

User Access Logs:

Implementing a feature to view user access logs is crucial for tracking and analyzing user behavior, which is essential for security auditing and user behavior analysis.

Application Reporting:

Providing implementation or interfaces for application App's statistical reporting, similar to other software's reporting management features, would facilitate operations management and decision support.

User Permission Management:

As a development platform, dify requires more granular user permission management. Developers should be able to provide certain management permissions to clients after developing an application, such as viewing user conversation records, annotations, statistical reports, and updates to the knowledge base.

Parameter Input at the Start Node:

Supporting parameter input at the start node for application integration is suggested, rather than being limited to manual parameter entry on the page. This will enhance the application's flexibility and integration capabilities.

webapp-conversation Project Updates:

The webapp-conversation project seems to be infrequently updated. Regular updates to meet developers' needs are suggested, or a more flexible extension mechanism should be provided to allow developers to customize and extend as needed. It is hoped that these suggestions will be taken seriously and considered for implementation as soon as possible to enhance development efficiency and user experience.

2. Additional context or comments

No response

3. Can you help us with this feature?

crazywoola commented 2 hours ago

Building an Extensible Ecosystem

We are working on it. It's in the near future. Should be released in v1.0. :)

Enhancement of API Key Management

We provide all the docs and examples of apis in our console -> api, you can copy those cURL command and imported them into the Postman/Apifox.

webapp-conversation Project Updates

We will keep an eye on this, try to keep it as fresh as possible.

Parameter Input at the Start Node

If you are interested in it, you can open a pull request for this.

...

The rest of the features should be considered in the commercial plan. We won't give those features very high priority. Those will occupy lots of development time. And those features don't seem to be AI-first requirements, more like traditional software requirements. Feel free to contact us at business@dify.ai. We accept these features in our business plan.