talks
How to work with generative AI in JavaScript
These are the slides for
Phil Nash’s
workshop “Build with generative AI in JavaScript”.
>
The slides
<
Links
The example app
Getting started
Artificial Analysis - model comparisons
Getting started with the Gemini API
OpenAI’s tokenizer example
Gemini model parameters
Prompt engineering with Gemini
Google Whitepaper on prompt engineering
RAG
What is Retrieval-Augmented Generation?
Embeddings with Gemini
Astra DB Vectorize
Get started with Astra DB
Chunking text in JavaScript
Clean up HTML content for RAG with Readability.js
Creating vector embeddings in Node.js
Agents
Google Whitepaper on Agents
Agents in Langflow
Create your first agent
Libraries and tools
Promptfoo
LangChainJS
LlamaIndexTS
LangFlow
Vercel ai SDK
Follow Phil at
https://philna.sh/links
Learn more about DataStax and Astra DB