Learn how to harness the power of AI in your JavaScript work and remain on the cutting edge of technologies in your career.
Overview
Syllabus
Introduction
- Learn to build AI-enhanced applications
- Understanding AI in the JavaScript ecosystem
- What you should know
- Installing OpenAI with npm
- Generating an API key
- Choosing and setting a language model
- Writing functions
- Working with streams
- Creating a prompt
- Refactoring functions with code prompts
- Setting templates
- Challenge: Customizing questions
- Solution: Customizing questions
- Accepting user input with readline
- Creating image descriptions based on a URL
- Transcribing audio files with OpenAI
- Building a Node app to transcribe audio
- Using DALL-E 3 for image generation
- Using the Assistants API playground
- Creating an assistant in a Node application
- Adding messages to threads
- Running and parsing the assistant response
- Setting up a LangChain project
- Creating a chat template
- Using runnable sequences
- Combining multiple chains
- Next steps
Taught by
Eve Porcello