This folder contains the core tasks you must complete to earn your course certificate. Complete all three tasks below using Node.js, upload your solutions to GitHub, and submit the form to claim your certificate!
- Goal: Use the OpenAI GPT-4 model to analyze the sentiment of a given text (positive, negative, or neutral).
- Steps:
- Create a Node.js script that sends a prompt to the GPT-4 model asking for sentiment analysis.
- Input: Any text string (e.g., "I love learning new things!").
- Output: The sentiment label (positive/negative/neutral).
- Reference: API Basics
- Goal: Use Anthropic Claude-2 to generate a Python function that reverses a string.
- Steps:
- Create a Node.js script that sends a prompt to Claude-2 asking for a Python function to reverse a string.
- Input: Prompt like "Write a Python function to reverse a string."
- Output: The generated Python code.
- Reference: Model Comparison
- Goal: Use a Mistral model to generate embeddings for a given text.
- Steps:
- Create a Node.js script that calls a Mistral embedding endpoint.
- Input: Any text string (e.g., "GitHub Models are powerful!").
- Output: The embedding vector (array of numbers).
- Reference: SDK Options
- Complete all three core tasks above in the
task/folder using Node.js. - Upload your solutions to your GitHub repository.
- Submit your repository link using this form: Submit Your Course Solutions
- Once reviewed, you will receive your course certificate!
Note: Only these three core tasks are required for certification. For extra learning and skill improvement, you are encouraged to also complete the advanced Vision, Audio, and Open-Source Tasks, but these are optional and not required for the certificate.