Тёмный

Finally! How to Leverage JSON Mode in OpenAI's New GPT 4 Turbo 128k 

Silicon Society
Подписаться 186
Просмотров 6 тыс.
50% 1

‪@siliconsociety‬ Lead AI Engineer Robert Sharp shows how to use OpenAI's new GPT-4 Turbo 128 with JSON mode.
We'll be posting more pro tips as we go-if you liked this, please do like the video to appease The Algorithm, and subscribe if you're interested in more 🙂

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@faustoalbers6314
@faustoalbers6314 9 месяцев назад
Very inspiring! I reversed your approach to make it create JSON objects with predefined pydantic classes from unstructured text data. The pydantic example guarantees that only the data that is ‘fitting the slots’ is extracted. Added to it, instructions to reason about the most probable information that is not present in the source data, but can be deduced from what it did found! Thanks!
@stefanrows2589
@stefanrows2589 7 месяцев назад
Cheers. That was helpful. I'm surprised they aren't as clear about these instructions in their documentation...
@user-jg4ci4mf8w
@user-jg4ci4mf8w 9 месяцев назад
Excellent tutorial, thank you. Please provide more.
@Zach-rw6jf
@Zach-rw6jf 7 месяцев назад
Awesome! I'm in the process of doing something similar and trying to figure out the best way to get my output as consistent as possible. Will definitely look into using a method like this!
@BangaloreYoutube
@BangaloreYoutube 6 месяцев назад
What a video, comments section also super helpful. Cheers everyone.
@adrianobleton
@adrianobleton 10 месяцев назад
This is great! I have been working on a project that needed json output from open API, and was describing the json object in the system prompt. Similar to what you saw it works most of the time, but fails ~5%. I was solving that by making the call again if the output couldn't be parsed, but that eats up a lot more tokens. This seems much more elegant.
@bqmac43
@bqmac43 9 месяцев назад
I was in the same boat. This new approach gives me tons more confidence in the outputs.
@JT-Works
@JT-Works 9 месяцев назад
Great tutorial, I am surprised you don't have more subscribers.
@apisindica168
@apisindica168 2 месяца назад
Wow, so inspiring. Thank you so much
@Steve-Richter
@Steve-Richter 10 месяцев назад
Ask the AI agent to check and increase your font size.
@BangaloreYoutube
@BangaloreYoutube 6 месяцев назад
Yeah fr. Had to play the video on my TV
@mikulcek
@mikulcek 6 месяцев назад
You need to start making more content. 👍
@ExplodeReality
@ExplodeReality 8 месяцев назад
This is exactly what I was looking for, thanks!
@jakeejacobson
@jakeejacobson 9 месяцев назад
very cool, I am using JSON schema to create the structure in the prompt but pydantic looks cool. also wondering if you can just use function calling for this, as you have to define a JSON schema for the function. have you tested the differences between JSON mode and function calling?
@AiTaughtMeHow
@AiTaughtMeHow 9 месяцев назад
great idea, this helped me so much
@KabobTech
@KabobTech 3 месяца назад
Excellent video!
@gingerjiang666
@gingerjiang666 9 месяцев назад
This is so cool. Thanks for sharing.
@Mhmdmine
@Mhmdmine 6 месяцев назад
Whats the difference between using JSON Mode and function calling since both extract structered data? which is more accurate and viable? thanks for the pydentic tip btw
@mostafamoustaghni6980
@mostafamoustaghni6980 8 месяцев назад
I really want to see if this is better way than functions calling?
@chaozhang4751
@chaozhang4751 9 месяцев назад
very helpful, the way to get structured output from gpt API. Just wondering if it supports nested object, such as graph structure G(V, E) with nodes and edges?
@akshatkant1423
@akshatkant1423 5 месяцев назад
Hi, i also need to get a json response from the open ai api from my project, the json is kind of big with around 5082 tokens, so after some time the response is gibberrish and completely unrelated to with what it started, do you think there are some alternatives to my problem and if any solution is there
@adityashinde436
@adityashinde436 9 месяцев назад
How can i make user_prompt dynamic, meaning instead RPG as input I want to send some other input?
@GjbnnncngXjkggvcbj-g9h
@GjbnnncngXjkggvcbj-g9h 10 дней назад
Anderson Mary Hall Matthew Martin Amy
Далее
OpenAI Structured Output - All You Need to Know
24:46
when you have plan B 😂
00:11
Просмотров 24 млн
Men Vs Women Survive The Wilderness For $500,000
31:48
Starman🫡
00:18
Просмотров 9 млн
Has Generative AI Already Peaked? - Computerphile
12:48
How To Do AI Prompt Templating
7:00
Просмотров 11 тыс.
How to Stream OpenAI API Responses in a Flask App
16:59
when you have plan B 😂
00:11
Просмотров 24 млн