Skip to content

jorshali/ai-for-developers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

The Developers Guide to AI - From Prompts to Agents (coming soon)

Finally, a book that makes AI approachable for developers. This book is here to jumpstart your AI learning journey. You won’t need to dust off your Python spellbook, train neural networks, or get a PhD in statistics. All you need is some basic JavaScript knowledge and a willingness to learn.

We’ll skip all the data science wizardry by using pretrained AI models (LLMs and more). APIs and SDKs have made these models accessible to developers in the languages they’re already building applications with.

This book will guide you through techniques to combine your own data with the power of LLMs. During this journey, you'll learn important concepts while gaining practical experience.

You can follow me on LinkedIn for more:

Jacob Orshalick | LinkedIn

Project Structure

The project contains folders with examples to support "The Developer's Guide to AI" boook. Each folder contains the example for that part in the series. All examples will use Ollama to connect to a local LLM.

Part 0: Setting the Stage

Getting Started

Most developers are familiar with JavaScript. This chapter shows how quickly you can call a local LLM from a UI with the following JavaScript technologies:

Example code:

Building a RAG Solution

We'll take our JavaScript solution further by building a simple RAG solution. We'll add an in-memory Vector Database and combine it with our LLM using some additional LangChain components.

Example code:

For each part you'll find a README.md with instructions to get the example up and running.