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
- javascript
- mysql
- nextjs
- prisma
- tailwindcss
- tidb
- typescript
- vercel
Log in or sign up for Devpost to join the conversation.