How I made ChatGPT think like me
Before I get started...
My goal
Inspired by this article I wanted to implement an example where I could 'connect' a model like ChatGPT with my own data
So here are some of my choices:
My choice of "Relevant documents" means that the use case for this solution is to enable ChatGPT to answer questions using any context that can be found in my personal files. In some cases that means using facts found in my files and in others it means it will answer questions as if it's thinking like me.
Here is how it works
First, I indexed and stored my files' vectors
Then I can send context-enriched questions to ChatGPT
The results
The results where very satisfying, here are some of my favourite examples so far:
Original question: "Who is Oscar Lopez Veloz?"
This one looked at my CV files (FYI I'm not Guatemalan)
Response with NO context:
领英推荐
Oscar Lopez Veloz is a former Guatemalan professional football player who represented his country at the 1998 FIFA World Cup and was a member of the Guatemala national team from 1991 to 2003. He was a versatile defender who played for a number of clubs in his native country, as well as some in Mexico, Brazil, and the United States. He was a two-time winner of the Guatemalan Player of the Year Award.
-------------------
Response with context:
Answer: Oscar Lopez Veloz is a data analytics professional with an energy industry experience and engineering background. He has a permanent?
resident working right, and he has worked for various companies and organizations, including the Australian Energy Market Operator, The University of Melbourne, PEMEX, Chrysler, and various small businesses. His skills include cloud and data analytics software, programming languages, data engineering, and more. He holds a Master of Energy Systems from The University of Melbourne and a Bachelor of Engineering (Mech...
Original question: "What is an ethical way to distribute the burdens of climate change?"
This one looked at an essay I wrote about this for Uni:
Response with NO context:
1. Implementing a fair and equitable carbon tax or cap-and-trade system to reduce emissions and incentivize businesses to invest in low-carbon alternatives.
2. Establishing a global fund to support adaptation and mitigation efforts in vulnerable communities.
3. Making sure that the costs of adapting to and mitigating climate change are shared equitably.
4. Developing standards and regulations that ensure corporations and industries are held responsible for their emissions.
-------------------
Response with context:
An ethical way to distribute the burdens of climate change is to ensure that those who are more vulnerable to it, particularly those living in undeveloped communities, are provided with access to energy and compensated via the revenues from granting access to the global atmosphere. This approach is superior to the previously discussed principles in that it establishes that the receipts should not be emissions, rather, some other fair package of goods that will necessarily include access to energy. In addition, this approach will enable many people to improve...
What I learned
Executive Director, Data and Analytics at Department of Transport and Planning
1 年Well done Oscar Lopez Veloz.
Software Developer | Electronics Engineer
1 年Very useful. Great!
Data | Artificial Intelligence | Cloud | Financial Services
1 年Well done, Oscar. Enjoyed reading!