Can You Tell Me About StrictJson: How It Compares to DSPY Signatures & Predict

Опубликовано: 11 Март 2024
на канале: Kamalraj M M
281
7

JSON is a near universal format for data transfer on the internet. The LLMs like GPT-3.5 and 4 can provide output that match the JSON format. The key and values of the JSON output from the LLM is challenging to constraint. Libraries like StrictJSON and DSPy can help in controlling the output.

Chapter Navigation:
0:00 Intro
0:25 JSON Background & Rules
2:35 How JSON looks in Wild
5:10 List of JSON Points
6:15 Accessing Data in JSON
7:50 Application of JSON
9:30 Getting JSON W/o StrictJson
12:10 Controlling Key Values using StrictJson
13:00 Loading JSON String using JSON module
16:11 Comparing Str Json & Dictionary
18:33 Code Walkthrough of StrictJson
19:20 Strict_json Syntax & Output Explanation
21:30 Output Types of StrictJson
24:30 When StrictJson Fails
27:10 StrictJson Function Syntax Explanation
28:20 Extracting Data from Text
29:30 Breaking StrictJSON Output with Detailed Constraint
32:15 Extracting parts of paragraph as JSON
34:15 DSPy Intro
35:05 DSPy Code Walkthrough
35:30 JSON Output with Lesser Code
36:30 Comparing DSPy & StrictJSON
37:30 Testing Output in StrictJson
38:25 Used DSPy & StrictJSON interchangeably
39:15 Recap

The data and the code is located at
https://github.com/insightbuilder/pyt...

I believe you will like this video, and subscribe to the channel. Further uploads related to Big Data, Large Language models and Artificial Intelligence will be shared to your Youtube Dashboard Directly.

The supporting playlists are
The bard Project
   • Google Bard LLM : New AI Model in the...  
Practical Projects Playlist
   • The Future is Here: Large Language Mo...  
Huggingface Playlist
   • Mastering NLP with Hugging Face: A Co...  
Python Data Engineering Playlist
   • Learn to Data Engineer and Problem So...  
Python Ecosystem of Libraries
   • Mastering the Python Ecosystem: Must-...  
ChatGPT and AI Playlist
   • Learn about AI Language Models and Re...  
AWS and Python AWS Wrangler
   • Building a Powerful Data Pipeline wit...  
Exploring the Realm of Generative AI: Hardware and Software Discussions
   • Exploring the Realm of Generative AI:...  

PS: Got a question or have a feedback on my content. Get in touch
By leaving a Comment in the video
topmate.io/insightbuilder?utm_source=topmate&utm_medium=popup&utm_campaign=SocialProfile
@mail [email protected]
@twitter Handle is @KQrios
@medium   / about  
@github https://github.com/Kamalabot


Смотрите видео Can You Tell Me About StrictJson: How It Compares to DSPY Signatures & Predict онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Kamalraj M M 11 Март 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 281 раз и оно понравилось 7 людям.