shawnharmsen / llamaindex-demo

A simple example of using LlamaIndex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LlamaIndex demo

This project provides a very simple but working example of using LlamaIndex to enable natural-language querying of a GitHub repository. It's described in a Medium article I wrote, Getting started with LlamaIndex.

Running the demo

  1. Clone this repository
  2. Copy the env.example file to .env and replace the tokens with:
  3. Create a poetry shell and run the code:
$ poetry shell
$ python ingest.py
$ python query.py

About

A simple example of using LlamaIndex

License:Apache License 2.0


Languages

Language:Python 100.0%