chatgpt-retrieval-plugin icon indicating copy to clipboard operation
chatgpt-retrieval-plugin copied to clipboard

Future Direction: User Interface

Open woniesong92 opened this issue 1 year ago • 2 comments

User Interface: Developing a user interface for managing documents and interacting with the plugin could improve the user experience.

I was thinking of including a standalone frontend web app that talks to the API (e.g. React app that runs on a separate port) but wanted to check with you if you had something different in your mind first.

woniesong92 avatar Mar 25 '23 04:03 woniesong92

Including a standalone frontend web app that talks to the API is a great way to provide a user-friendly interface to your API. This approach is commonly used in modern web development, where the frontend and backend are decoupled and communicate through APIs.

React is a popular choice for building web apps, and it works well with APIs. You can create a React app that communicates with your API using HTTP requests, and then deploy it separately from your API server. This separation of concerns allows you to focus on building a robust API and a user-friendly frontend independently.

When building a frontend app that communicates with an API, it's important to consider security. You should use techniques such as authentication and authorization to ensure that only authorized users can access your API. Additionally, you may want to consider using HTTPS to encrypt the data transmitted between the frontend and backend.

Overall, including a standalone frontend web app that talks to your API is a great way to provide a user-friendly interface to your users, and it can help you build a more modular and scalable system.

deep55gariya avatar Mar 26 '23 09:03 deep55gariya

streamlit should be suffice

fxrcode avatar Mar 26 '23 13:03 fxrcode

Is there any headway here, because I was thinking of the same thing :)

vdedejski avatar May 22 '23 12:05 vdedejski