Artificial intelligence (AI) and large language models (LLMs) are becoming increasingly powerful tools for building web applications. As JavaScript and Node.js developers, it's important to understand how to fit into this growing space. Below is a curated list of essential AI tutorials from our Node.js team at Red Hat.
Getting Started
With any new topic, it is important to start at the beginning. For those of you who are just starting to get your feet wet with adding AI to your Node.js applications, here are some resources to help with that.
- A quick look at large language models with Node.js, Podman Desktop, and the Granite model | Red Hat Developer
- Experimenting with a Large Language Model powered Chatbot with Node.js | Red Hat Developer
- Experimenting with Email generation and summarization with Node.js and Large Language Models | Red Hat Developer
Retrieval Augmented Generation (RAG)
A chatbot's knowledge is limited to the data it has been trained on. If you want to make an LLM aware of context-specific knowledge or proprietary data, you can start with the concept of Retrieval Augmented Generation or RAG. Below are some posts that will help you to understand this concept.
- Utilize Retrieval-Augmented Generation (RAG) with Node.js to optimize your AI applications | Red Hat Developer
- Improving Chatbot result with Retrieval Augmented Generation (RAG) and Node.js | Red Hat Developer
Tools and Agents
One of the developing areas with respect to the use of large language models is the concept of Tools and Agents. These concepts support more complex processes and provide the LLM with additional capabilities.
- A quick look at tool use/function calling with Node.js and Ollama
- Building agents with Large Language Models(LLMs) and Node.js | Red Hat Developer
Learning Paths
For those that benefit from following along and trying it yourselves, we also have a list of great self-paced learning paths to try out.
- How to get started with large language models and Node.js | Red Hat Developer
- Diving Deeper with large language models and Node.js | Red Hat Developer
- Deploying your LangChain.js Node.js applications to OpenShift AI | Red Hat Developer
Conclusion
As always if you want to learn more about what the Red Hat Node.js team is up to check these out:
https://developers.redhat.com/topics/nodejs
https://developers.redhat.com/topics/nodejs/ai
https://github.com/nodeshift/nodejs-reference-architecture
https://developers.redhat.com/e-books/developers-guide-nodejs-reference-architecture