<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jorge Perea on Medium]]></title>
        <description><![CDATA[Stories by Jorge Perea on Medium]]></description>
        <link>https://medium.com/@jorge.perea020?source=rss-8cd8b43f381b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tTxUjfhgAzQ1Xrj2UFpBTQ.jpeg</url>
            <title>Stories by Jorge Perea on Medium</title>
            <link>https://medium.com/@jorge.perea020?source=rss-8cd8b43f381b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 09:36:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jorge.perea020/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Create a GPT-4 Powered Bible Website Overnight]]></title>
            <link>https://medium.com/@jorge.perea020/how-to-create-a-gpt-4-powered-bible-website-overnight-a007884cd57f?source=rss-8cd8b43f381b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a007884cd57f</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[gpt-4]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Jorge Perea]]></dc:creator>
            <pubDate>Mon, 20 Mar 2023 01:25:39 GMT</pubDate>
            <atom:updated>2023-03-20T03:14:45.666Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*ebvoRwvUfRcoT3Ig1KTK-g.png" /><figcaption><a href="https://bible-study.app/">https://bible-study.app</a></figcaption></figure><h3><strong>Introduction</strong></h3><p>In this blog post, I’ll walk you through my journey of creating <a href="http://bible-study.app/">bible-study.app</a>, an AI-powered Bible website that leverages the power of OpenAI’s GPT-4 model. We’ll explore the main prompts I used, some code snippets for the Python backend, and discuss the challenges faced and how they were overcome. Let’s dive straight into it.</p><h3><strong>Section 1: The Idea and Inspiration</strong></h3><p>The idea behind <a href="https://bible-study.app/">bible-study.app</a> came from my passion for exploring the Bible and my interest in cutting-edge AI technology. I wanted to create a platform that not only provides an accessible way to study the Bible but also harnesses the potential of AI to improve understanding and engagement.</p><p>The project’s main goal was to build an intuitive, user-friendly interface that uses GPT-4 to answer questions, provide insights, and make Bible study more enjoyable and informative.</p><h3><strong>Section 2: Harnessing the Power of GPT-4</strong></h3><p>The core of <a href="http://bible-study.app/">bible-study.app</a> lies in its integration with OpenAI’s GPT-4 model. This powerful language model was instrumental in various aspects of the project, from designing the user interface to creating the Python backend. Below is the list of the main prompts I used and the outputs I received.</p><blockquote>Prompt 1: I want to create a website that allow people to search for Bible verses similar to a verse or sentence that they provide. The backend should be python and the front end react. I want this website to be aesthetically beautiful and simple. I want you to suggest the UI design, and the best way to present the results to the users. I want you to first outline the work and then I will instruct you to implement it.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DpWdPLmyLAdelKA0UXXKdA.png" /><figcaption>Frontend Outline (React)</figcaption></figure><p>As you can see in the image above, GPT-4 generated a coherent outline for the project. However, it initially suggested utilizing an older, more traditional word embedding approach. In response I prompted:</p><blockquote>Prompt 2: For the backend can you change the outline to use OpenAI API instead?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mrPlCgl-pYysGEpLfmuLRg.png" /><figcaption>Backend Outline (Python)</figcaption></figure><p>At this point, GPT-4 and I were aligned, opting to use the OpenAI endpoint for the backend, a better approach than writing word embedding code. With the project outline established, it was time to start building.</p><blockquote>Prompt 3: ok, start by creating the backend as you outlined it.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GRnUMYfnsLk1NtaxJTCjnw.png" /><figcaption>Flask Server</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oJFrmL3IEhdJOsWZyH17pg.png" /><figcaption>Search Function</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s-7cCQ5C6ZXhDwWCkTXt9w.png" /><figcaption>API Endpoint</figcaption></figure><p>To ensure the use of the latest version of the OpenAI Python library — which GPT-4 was unaware of — I provided the entire documentation and asked GPT-4 to generate code in accordance with it. Thanks to OpenAI’s support for lengthy inputs!</p><blockquote>Prompt 4: Implement the search verses function keeping in mind that this is the model API definition: (here I copied the entire content of <a href="https://github.com/openai/openai-cookbook/blob/main/examples/How_to_format_inputs_to_ChatGPT_models.ipynb">https://github.com/openai/openai-cookbook/blob/main/examples/How_to_format_inputs_to_ChatGPT_models.ipynb</a>)</blockquote><p>In the next step, I needed to remind GPT-4 of the original outline it provided for the website, as it seemed to have “lost” track of our progress. I simply copied its own outline (GPT-4 response to prompt 1 at the beginning of this post) and prompted it to continue from the UI development stage.</p><blockquote>Prompt 5: you told me the below and already gave me the backend, could you now build the UI in react using the outline you gave me?</blockquote><p>From here, I continued iterating with multiple prompts to refine the UI style using Bootstrap and other optimizations. For the sake of brevity, I won’t include those prompts in this post.</p><h3><strong>Section 3: Overcoming Challenges</strong></h3><p>During the development of <a href="http://bible-study.app/">bible-study.app</a>, I faced several challenges, errors and bugs, GPT-4 played a crucial role in helping me overcome these hurdles. For example, when getting a 403 Forbidden error I went to GPT-4 with this prompt:</p><blockquote>Prompt 6: GET <a href="http://localhost:5000/api/search?query=god+loves">http://localhost:5000/api/search?query=god+loves</a> net::ERR_FAILED 403 (Forbidden)</blockquote><p>GPT-4 successfully identified the issue and provided a working solution by suggesting the installation of Flask-CORS and integrating it into the application.</p><p>We continued the iterative process, addressing errors and issues with GPT-4’s help one by one until the site was fully functional.</p><h3><strong>Section 4: The Finished Product</strong></h3><p>Then it was time to get a domain name and get the site live, for which I asked GPT-4:</p><blockquote>Prompt 7: Suggest domain name for the bible website I am creating with your help</blockquote><p>The final website, <a href="https://bible-study.app/">bible-study.app</a>, is now live and ready for you to use and provide feedback. Although the site is far from complete, I hope this exercise has deepened your understanding of harnessing the power of AI to create innovative products in record time. As we continue to improve and add additional features in the future, feel free to explore and share your thoughts!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*4-lhCET1kbFeWoeqhBgr3A.png" /></figure><h3><strong>Bonus</strong></h3><p>I also used GPT-4 for the creation of this blog post, after all the interactions I had with it over the past two nights, it was simply a matter of prompting it to create the blog, and it already had all the details and the context to make it.</p><blockquote>Prompt: Ok, I want to write a medium post of what we did here, the site is now live at <a href="http://bible-study.app/">bible-study.app</a>. I want to put an emphasis on the main prompts I used to create the site and some code snippets for the Python backend. I want the post to be entertaining, engaging and educational. The main point is how I created a Bible AI website using AI and to demonstrate the process with prompts in an entertaining way. Please outline the blog post.</blockquote><p>And the result (after some iteration), is the blog that you are reading, happy prompting!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a007884cd57f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ChatGPT’s Perspective on the 2018 World Cup]]></title>
            <link>https://medium.com/@jorge.perea020/chatgpt-perspective-on-the-world-cup-302692a28fd9?source=rss-8cd8b43f381b------2</link>
            <guid isPermaLink="false">https://medium.com/p/302692a28fd9</guid>
            <category><![CDATA[world-cup]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[openai]]></category>
            <dc:creator><![CDATA[Jorge Perea]]></dc:creator>
            <pubDate>Sun, 11 Dec 2022 03:05:17 GMT</pubDate>
            <atom:updated>2022-12-16T15:15:52.533Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post, we will be taking a look back at the 2018 World Cup in Russia through the eyes of ChatGPT. Using advanced natural language processing and deep learning algorithms, we have generated a recap of the tournament that provides an overview of the key events and moments that took place. <strong>Please note that the entirety of the post as well as the pictures were 100% generated by AI.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GwirpVT5NuGPMMNSMmAnJQ.png" /></figure><p>The 2018 World Cup in Russia was one of the most highly anticipated events in the world of soccer. Fans from all over the globe tuned in to watch the best national teams compete on the biggest stage in the sport. The tournament featured 32 teams, representing every corner of the world, and each one came to Russia with the hopes of lifting the coveted trophy.</p><h3>Group stage</h3><p>The group stage of the 2018 World Cup featured eight groups of four teams each, with the top two teams from each group advancing to the round of 16. The group stage is often considered the most unpredictable part of the tournament, as teams can face off against vastly different opponents and anything can happen on any given day.</p><p>In Group A, the host team Russia surprised many by finishing at the top of the group, ahead of Uruguay, Egypt, and Saudi Arabia. In Group B, Spain and Portugal advanced to the next round, with Spain finishing first thanks to a superior goal difference. Group C saw France and Denmark advance, while Group D saw Argentina and Croatia move on.</p><p>Some of the standout performances in the group stage included Mexico’s upset victory over Germany, South Korea’s defeat of defending champions Germany, and Poland’s win over Japan. Overall, the group stage provided a thrilling start to the tournament, setting the stage for the knockout rounds to come.</p><h3>Round of 16</h3><p>The round of 16 is where the tournament truly begins to heat up, as teams that have advanced from the group stage face off against each other with a spot in the quarterfinals on the line. The round of 16 is known for its high-stakes matches and nail-biting finishes, and the 2018 World Cup did not disappoint.</p><p>Some of the standout moments from the round of 16 included Brazil’s 2–0 victory over Mexico, Belgium’s dramatic comeback win over Japan, and Croatia’s penalty shootout win over Denmark. The round of 16 also featured its share of upsets, such as Switzerland’s win over Serbia and Sweden’s victory over Switzerland.</p><p>Overall, the round of 16 provided plenty of excitement and drama, setting the stage for an even more intense quarterfinal round.</p><h3>Quarterfinals</h3><p>The quarterfinals are where the tournament really begins to narrow down, as only the top eight teams remain in the hunt for the World Cup trophy. The quarterfinals are known for their high-stakes matches and close finishes, and the 2018 World Cup was no exception.</p><p>In the first quarterfinal match, Brazil faced off against Belgium and came away with a 2–1 victory. The second quarterfinal saw France defeat Uruguay 2–0, while the third quarterfinal ended in a 2–1 victory for Croatia over Russia. The final quarterfinal match was a thrilling encounter between England and Sweden, which England won 2–0.</p><p>Overall, the quarterfinals provided some of the most exciting and intense matches of the tournament, with all four games going down to the wire. The semifinal round promised even more drama and excitement, as the top four teams in the world battled for a spot in the final.</p><h3>Semifinals</h3><p>The semifinals of the 2018 World Cup were highly anticipated, as the top four teams in the world squared off with a spot in the final on the line. The first semifinal match pitted Brazil against France, and it was a closely contested encounter that ended in a 2–1 victory for France. The second semifinal saw Croatia take on England, and it was a thrilling match that ended in a 2–1 victory for Croatia.</p><p>Both semifinals were closely fought and provided plenty of excitement and drama. France and Croatia emerged as the two teams that would compete for the World Cup trophy in the final, while Brazil and England were left to settle for third place in the tournament.</p><p>Overall, the semifinals provided some of the most memorable moments of the tournament, with France and Croatia proving themselves to be the best teams in the world. The stage was now set for the final, which promised to be a historic encounter.</p><h3>Final</h3><p>The final of the 2018 World Cup was a historic encounter between France and Croatia, two teams that had never before met in the final of the tournament. The match was played at the Luzhniki Stadium in Moscow, and it was watched by millions of fans around the world.</p><p>The final was a closely contested and highly entertaining match, with both teams putting on a strong performance. In the end, it was France who emerged victorious, thanks to a 4–2 victory over Croatia. The French team, led by star players like Antoine Griezmann and Kylian Mbappé, proved to be too much for the Croatian team to handle, and they lifted the World Cup trophy for the second time in their history.</p><p>Overall, the final of the 2018 World Cup was a fitting end to an exciting and unforgettable tournament. France were deserved champions, and their victory will be remembered as one of the greatest moments in the history of the sport.</p><h3>Conclusion</h3><p>The 2018 World Cup in Russia will be remembered as one of the greatest tournaments in the history of the sport. From the opening ceremony to the final match, the tournament was filled with excitement, drama, and unforgettable moments.</p><p>Throughout the tournament, fans were treated to stunning goals, thrilling comebacks, and upset victories. The 32 teams that took part in the tournament represented their countries with pride and passion, and they provided a constant source of entertainment and excitement.</p><p>In the end, it was France who lifted the World Cup trophy, thanks to their 4–2 victory over Croatia in the final. The French team, led by talented players like Antoine Griezmann and Kylian Mbappé, were deserved champions, and their victory will be remembered as one of the greatest moments in the history of the sport.</p><p>Overall, the 2018 World Cup was a thrilling and unforgettable event that will be remembered for years to come. Whether you were a die-hard soccer fan or a casual observer, there was something for everyone to enjoy in this incredible tournament.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=302692a28fd9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>