π‘ Inspiration
Picture a digitally-connected universe where AI not only listens, but understands and acts according to your unique needs. From personal virtual companions to ultra-smart entertainment chatbots, the next big leap in AI isn't just intelligence β its personalization. In the video demo, I explore a sample use case of CustomAI, designed to function as a medical diagnostic assistant. Deliberately, this is due to a journey fuelled by personal tragedy: my greatest inspiration has been my youngest sister Sophie, who was diagnosed with stage four bronchial (lung) cancer. Sophie's diagnosis came late due to initial medical oversight, a devastating lapse that changed the course of her life. If only she had the power of a specialized AI, would she have gotten the necessary medical treatment to handle the disease, and she could have avoided escalating to stage four cancer. Through CustomAI, I envisage a world where every individual can access specialized, tailor-made AI assistance for their unique needs.
π» What It Does
CustomAI solves the need for custom language learning models, trained on YOUR data - the potential use cases are endless.
CustomAI is an advanced streamlit application that seamlessly interfaces with the capabilities of Langchain and OpenAI's ChatGPT. Designed for the modern user, it permits the user to upload their own data in a plethora of formats, starting with PDFs, to train their language learning model. By being able to access other specific desired streams of data as well, CustomAI is also able to perform its own research, with increasingly improving extrapolation. By doing so, the AI gains insights specific to the user's data and provides the best possible tailored responses, recommendations, and solutions. With the ability to also save and hold memory: as the AI learns, it hones its responses to match the user's needs, charting a new era in AI-driven personalization.
π¨ How CustomAI Was Built
Building Custom-AI mainly involved integrating two key technologies: Langchain and OpenAI ChatGPT. First, I set up the streamlit application framework to create a user-friendly interface using python. Next, I created a data management platform, to handle the user's data securely, additionally enabling data upload and processing and ensuring that user information remains private and compliant. Langchain was then integrated to developing the application and ensuring it was powered by language learning models. For the AI capabilities, I integrated the OpenAI ChatGPT API. OpenAI ChatGPT allows the AI to understand and respond to user queries and inputs based on the uploaded data. To enable the AI to hold contextual awareness on any subject while preventing the corruption of unique user data, CustomAI utilizes the Wikipedia API underneath a layer of ensuring authenticity. It achieves this by applying validation checks to user input to prevent the incorporation of malicious or irrelevant data, with natural language processing techniques to filter and sanitize the user input. Then, the AI cross-references with multiple sources and information from different reliable authors to reduce the risk of developing on incorrect or biased data, before it is allowed to train and optimize on the acquired information. By combining these technologies, Custom-AI was born, offering personalized AI interactions, recommendations, and solutions, all driven by the user's data.
π€ Challenges Encountered
Developing Custom-AI presented unique challenges, particularly in vectorization complexity, managing large datasets, and aligning Langchain's data handling with AI model requirements. Converting raw data into suitable vectors, optimizing vector processing for efficiency, and ensuring accurate vector alignment were all critical aspects that required meticulous attention and thoughtful solutions. Each challenge, however, was a lesson in resilience and innovation! π
π Accomplishments
Significant accomplishments include a personalized AI experience through user data uploads, seamless integration of Langchain for secure data management, versatile vectorization techniques for diverse data types, and a scalable infrastructure ensuring high-performance AI interactions! Additionally, as a ML volunteer at Omdena, my team was able to develop a machine learning model of 99.96% accuracy using CustomAI in our project goal of predicting global CO2 emissions.
π What I Learned
The extraordinary versatility of Langchain and ChatGPT have ignited my excitement to further explore and build with these innovative tools. Through this journey, not only have I experienced tremendous growth as a builder, but I have also grown intrapersonally as well. Despite being unfamiliar with AI initially, I embraced the challenge of venturing beyond my comfort zone, knowing that it is the key to true growth and progress! Additionally, building this project alone has been a profound learning experience. I discovered the power of self-reliance and perseverance, as tackling challenges and finding solutions independently pushed me beyond what I thought I was previously capable of. I learned to embrace ambiguity and uncertainty, which taught me the importance of adaptability and resourcefulness. This solo journey has also enriched my technical skills, honed my problem-solving abilities, and instilled in me the confidence to take on future endeavours with newfound courage and determination! β€οΈ
πWhat's next for CustomAI
CustomAI is not just a product; it's a vision. Striving towards a future of pervasive AI, CustomAI aspires to be at the helm, driving innovations in sectors beyond healthcare seen from the demo, from finance to education. In its future endeavours is a sleek mobile application and user login, ensuring AI assistance and accessibility is just a tap away. Ensuring that CustomAI remains at the pinnacle of precision, plans are underway to fuse even more extensive databases into the language learning model, ensuring unparalleled accuracy and personalization for all uses! π
I would like to additionally share my gratitude to the incredible hackathon organizers. The dedication and hard work made this event an unforgettable experience. Thank you for providing us with the platform to showcase our skills, learn from others, and create something meaningful together. Your efforts have truly inspired us to reach greater heights in our journey as developers. As a life long learner, United Hacks 2023 has been an amazing and unforgettable experience. ππ
Built With
- langchain
- machine-learning
- natural-language-processing
- openai
- python
- streamlit



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