Défi : ajouter une fonction d’IA à une application précédente
Cette leçon est affichée en anglais, car elle n'a pas encore été traduite.
Draft: this lesson is an outline and will be expanded.
You now repeat the whole course on your own, with a different app and a different feature. No example is given this time. You finish with a second app that has a safe, tested AI feature.
What you will do
- Choose a different earlier app from this series, and a feature kind you did not use yet: summarising, answering questions or classifying.
- Write the one-sentence description of the feature.
- Write the feature brief, including at least three things it must never do and what happens on failure.
- Write at least ten test inputs with accepted answers before you build anything.
- Ask your assistant to add the first version in small steps. Run it, test it and save a checkpoint after each step that works.
- Put the key in a private place, set a spending limit and add limits on how often and how much text the feature accepts.
- Run your test list. Improve the feature until you are happy with the score, and keep only changes that do not make it worse.
- Write down what you would do differently next time, in three lines.
Note: model services differ from country to country and region to region. Use a service you can reach and are allowed to use, and check its own pages for current choices and costs.
Check yourself
- The second app has a working AI feature of a different kind from your first.
- The brief and the test list were written before the feature was built.
- The key, the spending limit and the input limits are in place.
- You finished without copying from an earlier lesson’s steps line by line.