|
| 1 | +import type { |
| 2 | + AiInformationProps, |
| 3 | + DataPermissionLevelsProps, |
| 4 | + NutritionFactsProps, |
| 5 | +} from "@instructure/ui-instructure"; |
| 6 | +import type { AiInfoFeatureProps } from "../../types"; |
| 7 | +const FEATURE_NAME = "AI Experiences"; |
| 8 | +const UID = "aiexperiences"; |
| 9 | +const DATA_PERMISSION_LEVELS: DataPermissionLevelsProps["data"] = [ |
| 10 | + { |
| 11 | + description: |
| 12 | + "We leverage anonymized aggregate data for detailed analytics to inform model development and product improvements. No AI models are used at this level.", |
| 13 | + highlighted: false, |
| 14 | + level: "LEVEL 1", |
| 15 | + title: "Descriptive Analytics and Research", |
| 16 | + }, |
| 17 | + { |
| 18 | + description: |
| 19 | + "We utilize off-the-shelf AI models and customer data as input to provide AI-powered features. No data is used for training this model.", |
| 20 | + highlighted: true, |
| 21 | + level: "LEVEL 2", |
| 22 | + title: "AI-Powered Features Without Data Training", |
| 23 | + }, |
| 24 | + { |
| 25 | + description: |
| 26 | + "We customize AI solutions tailored to the unique needs and resources of educational institutions. We use customer data to fine-tune data and train AI models that only serve your institution. Your institution's data only serves them through trained models.", |
| 27 | + highlighted: false, |
| 28 | + level: "LEVEL 3", |
| 29 | + title: "AI Customization for Individual Institutions", |
| 30 | + }, |
| 31 | + { |
| 32 | + description: |
| 33 | + "We established a consortium with educational institutions that shares anonymized data, best practices, and research findings. This fosters collaboration and accelerates the responsible development of AI in education. Specialized AI models are created for better outcomes in education, cost savings, and more.", |
| 34 | + highlighted: false, |
| 35 | + level: "LEVEL 4", |
| 36 | + title: "Collaborative AI Consortium", |
| 37 | + }, |
| 38 | +]; |
| 39 | +const NUTRITION_FACTS_DATA: NutritionFactsProps["data"] = [ |
| 40 | + { |
| 41 | + blockTitle: "Model & Data", |
| 42 | + segmentData: [ |
| 43 | + { |
| 44 | + description: |
| 45 | + "The foundational AI on which further training and customizations are built.", |
| 46 | + segmentTitle: "Base Model", |
| 47 | + value: "Haiku 3", |
| 48 | + valueDescription: |
| 49 | + "Anthropic Claude models are provided via Amazon Bedrock Foundation Models (FMs).", |
| 50 | + }, |
| 51 | + { |
| 52 | + description: |
| 53 | + "Indicates the AI model has been given customer data in order to improve its results.", |
| 54 | + segmentTitle: "Trained with User Data", |
| 55 | + value: "No", |
| 56 | + }, |
| 57 | + { |
| 58 | + description: |
| 59 | + "Indicates which training or operational content was given to the model.", |
| 60 | + segmentTitle: "Data Shared with Model", |
| 61 | + value: |
| 62 | + "The custom prompts that instructors provide to create the AI experience and student conversation with the AI Experience tool.", |
| 63 | + }, |
| 64 | + ], |
| 65 | + }, |
| 66 | + { |
| 67 | + blockTitle: "Privacy & Compliance", |
| 68 | + segmentData: [ |
| 69 | + { |
| 70 | + description: "How long the model stores customer data.", |
| 71 | + segmentTitle: "Data Retention", |
| 72 | + value: |
| 73 | + "All conversation data and the activity context created by the instructor is saved.", |
| 74 | + }, |
| 75 | + { |
| 76 | + description: |
| 77 | + "Recording the AI's performance for auditing, analysis, and improvement.", |
| 78 | + segmentTitle: "Data Logging", |
| 79 | + value: "Logs data", |
| 80 | + valueDescription: |
| 81 | + "Prompt data, LLM responses, and student responses are logged.", |
| 82 | + }, |
| 83 | + { |
| 84 | + description: |
| 85 | + "The locations where the AI model is officially available and supported.", |
| 86 | + segmentTitle: "Regions Supported", |
| 87 | + value: "Global", |
| 88 | + valueDescription: "", |
| 89 | + }, |
| 90 | + { |
| 91 | + description: |
| 92 | + "Sensitive data that can be used to identify an individual.", |
| 93 | + segmentTitle: "PII", |
| 94 | + value: "Not Exposed", |
| 95 | + valueDescription: "", |
| 96 | + }, |
| 97 | + ], |
| 98 | + }, |
| 99 | + { |
| 100 | + blockTitle: "Outputs", |
| 101 | + segmentData: [ |
| 102 | + { |
| 103 | + description: "The ability to turn the AI on or off within the product.", |
| 104 | + segmentTitle: "AI Settings Control", |
| 105 | + value: "Yes", |
| 106 | + }, |
| 107 | + { |
| 108 | + description: |
| 109 | + "Indicates if a human is involved in the AI's process or output.", |
| 110 | + segmentTitle: "Human in the Loop", |
| 111 | + value: "Yes", |
| 112 | + valueDescription: |
| 113 | + "Instructors set the parameters for each conversation, and students are informed they are interacting with AI. The AI’s output is delivered as-is, without post-editing. Instructors have full access to the conversation transcript.", |
| 114 | + }, |
| 115 | + { |
| 116 | + description: |
| 117 | + "Preventative safety mechanisms or limitations built into the AI model.", |
| 118 | + segmentTitle: "Guardrails", |
| 119 | + value: |
| 120 | + 'Model responses are logged for quality assurance, and responses with low confidence are flagged "Needs Review" to encourage human intervention.', |
| 121 | + }, |
| 122 | + { |
| 123 | + description: "Any risks the model may pose to the user.", |
| 124 | + segmentTitle: "Expected Risks", |
| 125 | + value: |
| 126 | + "The LLM might not ask the right questions or assess the conversation correctly. ", |
| 127 | + }, |
| 128 | + { |
| 129 | + description: "The specific results the AI model is meant to achieve.", |
| 130 | + segmentTitle: "Intended Outcomes", |
| 131 | + value: |
| 132 | + "New type of learning activity that incorporates conversational AI in the process of learning, allowing students to demonstrate understanding of a topic and engage in a new learning modality within the LMS.", |
| 133 | + }, |
| 134 | + ], |
| 135 | + }, |
| 136 | +]; |
| 137 | +const nutritionFacts: NutritionFactsProps = { |
| 138 | + |
| 139 | + closeButtonText: "Close", |
| 140 | + closeIconButtonScreenReaderLabel: "Close", |
| 141 | + featureName: FEATURE_NAME, |
| 142 | + modalLabel: "This is a modal for AI facts", |
| 143 | + title: "AI Nutrition Facts", |
| 144 | + triggerText: "Nutrition Facts", |
| 145 | + data: NUTRITION_FACTS_DATA, |
| 146 | +}; |
| 147 | +const dataPermissionLevels: DataPermissionLevelsProps = { |
| 148 | + |
| 149 | + closeButtonText: "Close", |
| 150 | + closeIconButtonScreenReaderLabel: "Close dialog", |
| 151 | + currentFeature: FEATURE_NAME, |
| 152 | + currentFeatureText: "Current Feature:", |
| 153 | + modalLabel: "Data Permission Levels modal", |
| 154 | + title: "Data Permission Levels", |
| 155 | + triggerText: "Data Permission Levels", |
| 156 | + data: DATA_PERMISSION_LEVELS, |
| 157 | +}; |
| 158 | +const aiInformation: AiInformationProps = { |
| 159 | + |
| 160 | + data: [ |
| 161 | + { |
| 162 | + description: |
| 163 | + "We utilize off-the-shelf AI models and customer data as input to provide AI-powered features. No data is used for training this model.", |
| 164 | + featureName: "AI Experiences", |
| 165 | + modelName: "Haiku 3", |
| 166 | + modelNameText: "Base Model", |
| 167 | + nutritionFactsModalTriggerText: "AI Nutrition Facts", |
| 168 | + permissionLevel: "LEVEL 2", |
| 169 | + permissionLevelsModalTriggerText: "Data Permission Levels", |
| 170 | + permissionLevelText: "Permission Level:", |
| 171 | + }, |
| 172 | + ], |
| 173 | + dataPermissionLevelsCloseButtonText: "Close", |
| 174 | + dataPermissionLevelsCloseIconButtonScreenReaderLabel: "Close dialog", |
| 175 | + dataPermissionLevelsCurrentFeature: "AI Experiences", |
| 176 | + dataPermissionLevelsCurrentFeatureText: "Current Feature:", |
| 177 | + dataPermissionLevelsModalLabel: "Data Permission Levels modal", |
| 178 | + dataPermissionLevelsTitle: "Data Permission Levels", |
| 179 | + nutritionFactsCloseButtonText: "Close", |
| 180 | + nutritionFactsCloseIconButtonScreenReaderLabel: "Close", |
| 181 | + nutritionFactsFeatureName: "AI Experiences", |
| 182 | + nutritionFactsModalLabel: "This is a modal for AI facts", |
| 183 | + nutritionFactsTitle: "AI Nutrition Facts", |
| 184 | + title: "Features", |
| 185 | + dataPermissionLevelsData: DATA_PERMISSION_LEVELS, |
| 186 | + nutritionFactsData: NUTRITION_FACTS_DATA, |
| 187 | + trigger: undefined, |
| 188 | +}; |
| 189 | +const aiexperiences: AiInfoFeatureProps = { |
| 190 | + aiInformation, dataPermissionLevels, description: |
| 191 | + "AI Experiences is a new activity type, allowing instructors to design and assess interactive chat experiences with AI.", group: "Canvas", name: FEATURE_NAME, nutritionFacts, revision: "2025.11.25", uid: UID, |
| 192 | +}; |
| 193 | +export { aiexperiences, nutritionFacts, dataPermissionLevels, aiInformation }; |
| 194 | +export default aiexperiences; |
0 commit comments