About AI Chat Lab
Code.org's AI Chat Lab is an innovative, AI-powered chatbot designed to enhance learning in our AI Foundations and Exploring Generative AI courses. Built with privacy, content appropriateness, and responsible use at its core, AI Chat Lab provides students with a controlled and educational environment to explore artificial intelligence.
In the Exploring Generative AI course, students learn to use and build with this chatbot in Unit 2: Customizing Language Models.
Access & Permissions
Who can use AI chat lab?
Teachers can view the tool but cannot interact with the chatbot unless they are a verified teacher or have logged in via Google, Microsoft, Facebook, or an LMS. Learn how to become a verified teacher here.
Students can view the tool but cannot interact with the chatbot unless they are in a teacher-led section that meets the above requirements. Learn how teachers can add students to sections here.
Note: If you or your student(s) do not meet the above criteria, you will receive an error message when trying to chat with the chatbot.
Privacy & Security
How does AI chat lab handle data privacy and security?
Code.org does not send any student input or data to third parties - we own all of the data. To further protect privacy, all chat data is automatically deleted after 90 days, ensuring that student interactions are both secure and temporary.
For more information, check out our Artificial Intelligence Privacy Policy.
Does AI Chat Lab use student data to train models?
No, AI Chat Lab does not use any student data to train third-party models.
Safety & Content Moderation
What safeguards are built-in to AI chat lab?
Code.org has made significant efforts to ensure that students do not encounter anything in the tool that violates our policies or is inappropriate for the classroom. Here's how we protect students:
- Student message filtering: All customizations and chat messages from students are checked by our content moderation policy, and any inappropriate messages are flagged if detected
- Bot response filtering: All messages from the chatbot are checked by our content moderation policy before they are shown to students.
- Teacher oversight: Teachers can monitor all student interactions through the teacher view.
However, since we are using generative AI, there is no entirely predictable way to ensure the output will never be disruptive. We are continually improving the tool, and we encourage you to provide feedback to help us make it even safer by contacting us at artificialintelligence@code.org.
How can I ensure that AI Chat lab is safe for students?
As a teacher, you can view your students' chat history with the bot in each level. You can view both clean and flagged student messages, ensuring that you have access to all of the activity going on in your classroom. In this view, you can also provide feedback to us about the safety of the chats.
Learn more about how to view student chats and provide feedback here..
What should I do if AI chat lab gives incorrect or inappropriate responses?
While Code.org does its best to limit inappropriate responses, AI chatbots can occasionally generate unexpected outputs. This is explicitly addressed in the first lesson of the Generative AI curriculum where students use AI Chat Lab.
If this happens, consider turning it into a learning opportunity by discussing AI hallucinations or the sources of the data. You can watch our video on this here.
We are always striving to improve, so please share any concerns or suggestions with us at artificialintelligence@code.org or provide feedback directly to the team via the teacher view. Learn more here.
Support & Feedback
How do I provide feedback or report bugs found using AI chat lab?
You have several options for providing feedback:
- Direct feedback: Use the teacher view to provide feedback on inappropriate/appropriate chats
- Email support: Report feedback or bugs to our general support email or specifically to artificialintelligence@code.org
We value your input as we continuously work to enhance the tool.
Technical Details
What languages is AI Chat Lab available in?
The tool and corresponding curriculum are currently only available in English. The chatbot may or may not respond appropriately in other languages, so we recommend using it in English for the best experience.
What technology does AI Chat Lab use?
Code.org uses OpenAI's GPT-4o-mini for content moderation across all courses.
AI Foundations course: The chatbot experience uses GPT-4o-mini.
Exploring Generative AI course: The main chatbot experience is created by a group of open-source large language models, with the primary model being Mistral-7B-Instruct-v0.1.
Several fine-tuned models are also available in AI Chat Lab in the Generative AI course:
- BioMistral-7B: A fine-tuned Large Language Model across specialized domains such as healthcare and medicine.
- Karen_TheEditor_V2_CREATIVE_Mistral_7B: A fine-tuned language model created to fix grammatical and spelling errors in US English without altering the style of the text.
- Mistral-Pirate-7b-v0.3: A fine-tuned language model made for generating intricate and authentic pirate-themed content.
- Arithmo-Mistral-7B: A fine-tuned model that is trained to answer and reason through mathematical problems.
Need Help?
- Technical issues: Contact our support team at support@code.org
- Safety concerns: Email artificialintelligence@code.org
- Privacy details: Pease see Code.org’s Artificial Intelligence Privacy Policy.