Jev AI Best Practices (and Mistakes to Avoid)

۰ بازدید۱۴۰۵/۷/۵00:43:28

Using Jev is straightforward. Using it well takes a little more thought. What state should you send? When should you use Noul, Choice, or Score? And when should your code act on an answer—or ask for confirmation? In this video, we work through practical customer support scenarios using the TypeSafe TypeScript SDK. We cover best practices and mistakes to avoid in three areas: preparing state, writing questions, and using answers in code. Along the way, we compare approaches, run the examples, and see why one approach fits a situation better than another. Contribute to Agent-Native: https://agent-native.com/?ref=vishwas Demo: https://github.com/gopinav/jev-demo New to Jev? Watch my introduction: https://youtu.be/ZgXej_9isxY?si=DQfQ5CNiTNLzD6aK CHAPTERS 00:00 Jev AI Best Practices (and Mistakes to Avoid) 01:24 Part 1: Preparing State 02:12 Scenario 1: Should State Be a String or an Object? 04:37 Scenario 2: How Should We Structure State? 08:11 Scenario 3: Should We Prepare State Before Sending It? 11:16 Scenario 4: How Much State Should We Send? 14:26 Part 2: Writing Questions 15:01 Scenario 5: When Should We Use Noul or Choice? 19:24 Scenario 6: When Should We Use Score Instead of Noul? 21:52 Scenario 7: Are We Asking Too Much in One Question? 25:20 Scenario 8: Are We Leaving Jev to Guess What Counts? 31:11 Scenario 9: Does Each Question Need Its Own API Call? 33:01 Part 3: Using Answers in Code 33:35 Scenario 10: Which Decisions Belong in Code? 36:17 Scenario 11: Should We Act When Jev Isn't Sure? 39:02 Scenario 12: Should Every Action Need the Same Confidence? 40:42 Scenario 13: Can We Change Priorities Without Asking Jev Again? 42:55 Recap: The Best Practices to Take Away Become an AI Engineer with Scrimba https://scrimba.com/t0ai?via=Codevolution (Start Free, save 20% on Pro) Discord - https://discord.gg/NHRxmbRKb Twitter - https://twitter.com/CodevolutionWeb Business - codevolution.business@gmail.com