Artificial Ignorance

Artificial Ignorance

Share this post

Artificial Ignorance
Artificial Ignorance
Tutorial: How to chat with your documents
Copy link
Facebook
Email
Notes
More

Tutorial: How to chat with your documents

A step-by-step guide to doing Q&A with your data, using LlamaIndex and OpenAI.

Charlie Guo's avatar
Charlie Guo
Aug 16, 2023
∙ Paid
27

Share this post

Artificial Ignorance
Artificial Ignorance
Tutorial: How to chat with your documents
Copy link
Facebook
Email
Notes
More
1
4
Share

With all of the discussion around AI, I have been seeing less AI Engineering content than I would like - actual hands-on writeups of AI coding projects. So we're starting with an example we've discussed in the past: how to chat with your documents. This is quickly becoming the "Hello, World" of LLM applications, so it's a reasonable place to start.

This walkthrough is a bit on the technical side, as we’ll dive into a bunch of programming concepts. Knowledge of Python is expected, but machine learning is NOT a prerequisite.

​

If you know someone building or learning about coding with LLMs, consider sharing this!

Share

​

For this tutorial, we will use LlamaIndex, and by extension OpenAI. LlamaIndex allows you to swap out OpenAI for other models, but for convenience (and because it's the default), we're going to assume OpenAI usage.

Source: LlamaIndex

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Charlie Guo
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More