Claude's 'Secret' JSON Mode Explained

preview_player
Показать описание


🎓 COURSES:

🍿 WATCH NEXT:

OUR FAVOURITE TOOLS

00:00 - Secret JSON Mode in Claude for Bubble Apps
00:49 - Claude API vs OpenAI in Bubble
01:22 - Simple Example Setup in Bubble API Connector
01:42 - Adding System Prompt and Tool Use Feature
02:34 - JSON Mode Example and Implementation
03:37 - Customizing Properties for Data Extraction
04:58 - Adding Required Parameters for AI Response
05:44 - Testing the API Call with Sample Message
06:35 - Structured JSON Output from Claude API
07:15 - Ensuring Tool Use for JSON-Only Response
07:55 - Benefits of Claude's JSON Mode for Bubble Apps
Рекомендации по теме
Комментарии
Автор

Thank you !! By the way, do you have an example we can call another API using TOOLS - from Claude?!?! Like the same example, but using another API call to get weather result... and thanks for your videos!!! They are amazing!

marcelokugler
Автор

The system prompt is separate from the thread of messages in an OpenAI chat. It is a background instruction given to the AI at the start of the conversation, helping to set guidelines, tone, and other context-specific behaviors. While it influences how the AI responds, it isn't visible in the conversation thread and doesn't change during the chat unless redefined by the system.

OpenAI has made recent changes to how the system prompt is handled, giving it more priority and authority. This adjustment ensures that the system prompt remains consistent and isn't easily overridden by user instructions or prompts during a conversation. The idea is to maintain certain guidelines or behaviors throughout the interaction, regardless of user input, which can help in scenarios where safety, ethical guidelines, or specific conversational rules need to be enforced consistently.

in reference to 1:46

bastabey
Автор

Could you please make a video with a date format :)) I can't transform the text into a Bubble date/time picker. I want the user to be able to easily switch date.

davidstolt