Inspiration 😌

The inspiration for PromptHub came from recognizing that ChatGPT's knowledge is restricted to a certain level and time period, also the need for personalized GPT prompt responses to make ChatGPT sound more familiar to us. To be more specific, the challenges faced by developers, like me, in developing an application using the latest frameworks that ChatGPT's knowledge has been limited to. Apart from overcoming these knowledge limitation issues, it is also mandatory to know that ChatGPT becomes more personalized as we feed it more data. This logic was also taken into consideration while building PromptHub.

What It Does 🚀

PromptHub revolutionizes the way developers work with ChatGPT! Instead of starting from scratch and struggling to make GPT understand your needs, the platform provides a repository of handpicked prompts. You can easily find the prompt you need and jump right into a conversation with the pre-trained prompt. When you encounter topics that could benefit from more recent knowledge or personalization, PromptHub has got you covered. It's a simple yet powerful tool to enhance your experience with ChatGPT!

How We Built It 🛠️

We built PromptHub using a combination of the following technologies:

Frontend:

  • Next.js: To ensure a user-friendly and intuitive interface.
  • HTML, CSS, JavaScript: Standard web development technologies for building the frontend.

Backend:

  • Prisma: A powerful ORM (Object-Relational Mapping) tool used to interact with the TiDB Cloud cluster efficiently.
  • OpenAI API: Integrated with the backend to enhance the platform's AI capabilities.

Database:

  • TiDB Cloud Cluster: A distributed SQL database used for efficient data storage and retrieval.

The combination of these frontend, backend, and database technologies allowed us to create a robust and user-friendly platform for working with ChatGPT.

Challenges We Ran Into 😓

One of the main challenges we encountered was integrating the MySQL database on the TiDB cluster to Prisma. Due to limited documentation, it took time and effort to figure out the correct implementation, but eventually, we successfully connected and stored ChatPrompts and other schemas in the database.

Accomplishments That We're Proud Of 🎉

We take pride in successfully connecting to the database and integrating the OpenAI API into our codebase, enhancing PromptHub's functionality and AI capabilities. Additionally, creating a user-friendly interface and building a collaborative community of AI enthusiasts are significant accomplishments that we are proud of.

What We Learned 🧠

Throughout the development of PromptHub, our journey with TiDB and its remarkable features has been an enlightening experience. We've discovered the power of collaboration and knowledge sharing among AI enthusiasts, enabling us to craft a platform tailored to the unique needs of different user groups. Our insights into ethical prompt creation and responsible AI usage have guided us to build a solution that empowers developers with TiDB's prowess while upholding the highest standards of ethics and responsibility.

What's Next for PromptHub 🚀

Looking ahead, our vision for PromptHub involves transforming it into a platform akin to GitHub, where users can fork and contribute to open-source prompts, enhancing the accuracy and effectiveness of prompts. We plan to expand PromptHub's offerings to cover additional language models and foster an even more vibrant and supportive community of AI enthusiasts. Continuously improving and innovating, we aim to make PromptHub the go-to destination for all AI interaction needs.

Built With

Share this project:

Updates

posted an update

To be more specific about how TiDB has created a significant impact on PromptHub,

Easy Database Management: TiDB Cloud takes care of managing the database infrastructure for PromptHub. It handles tasks like setting up, monitoring, and maintaining the database, which saves time and effort for the PromptHub team. This way, they can focus more on adding new features and improving the user experience.

Real-Time Insights: With TiDB Cloud's real-time operational analytics, PromptHub can process and analyze user interactions and data in real-time. This means that users can get the most up-to-date information and stay informed about the latest trends and discussions happening within the AI community on the platform.

Always Available: TiDB Cloud ensures that PromptHub remains reliable and available to users at all times. It automatically manages any potential failures or issues, so users can access the platform without interruptions, even during peak usage periods. This reliability instills confidence in users, knowing that they can rely on PromptHub whenever they need it.

Handles Growth Smoothly: As PromptHub's user base grows, TiDB Cloud's automatic scaling feature comes into play. It seamlessly adjusts the resources to handle increasing traffic, ensuring that the platform can accommodate more users without experiencing performance bottlenecks. This scalability allows PromptHub to grow along with its community without any hiccups.

Keeps Things Secure: TiDB Cloud provides enterprise-grade security features, which are crucial for a platform like PromptHub where users share their prompts and engage in discussions. The secure environment created by TiDB Cloud ensures that user data is protected, fostering a safe and trusted space for AI enthusiasts to collaborate and exchange ideas without worrying about data breaches.

Log in or sign up for Devpost to join the conversation.