Unleashing the Power of OpenAI: Creating Amazing JSON Responses
<p>Yesterday, I participated in my first <a href="https://www.meetup.com/nl-NL/tech-maker-amsterdam/events/291188377/" rel="noopener ugc nofollow" target="_blank">Hackathon</a> in Europe, which was focused on playing around with the OpenAI API and networking. The event was held in Amsterdam, and I was excited to be part of a team working on creating an app using OpenAI to suggest travel plan itineraries.</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/1*v5MGm5V9R_p2c8oCf4av7A.png" style="height:570px; width:700px" /></p>
<p>Our team faced a unique challenge: how to ask the right questions to OpenAI using the API and get responses in JSON format. We knew that OpenAI was a language model that could only respond in text. However, for the Frontend to work consistently, we needed the response in JSON format with exact keys and values. This meant that we needed to follow a JSON schema.</p>
<p><a href="https://medium.com/@alaminopu.me/unleashing-the-power-of-openai-creating-amazing-json-responses-1198f95ce87f"><strong>Visit Now</strong></a></p>