Files
LlamaIndexTS/examples
github-actions[bot] 3be87d4670 Release 0.11.20 (#2121)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: himself65 <14026360+himself65@users.noreply.github.com>
2025-07-21 09:37:44 -07:00
..
2025-07-17 15:36:56 +08:00
2025-05-12 14:16:47 +07:00
2025-07-01 09:30:49 +07:00
2025-07-10 19:00:37 -07:00
2025-05-12 14:16:47 +07:00
2025-03-31 17:21:19 +07:00
2025-07-21 09:37:44 -07:00
2025-05-26 16:49:45 +07:00
2025-07-21 09:37:44 -07:00

LlamaIndexTS Examples

This package contains several examples of how to use LlamaIndexTS.

Most examples will use OpenAI by default, so be sure to set your API key.

Running Examples

# export your API key
export OPENAI_API_KEY="sk-..."

npx tsx ./rag/chatEngine.ts

Agents:

Workflows:

Indexing, Retrieval, and Querying:

Multimodal:

Some more general folders that might be useful to explore:

  • storage: Examples with various vector stores
  • readers: Examples of how to use the various readers
  • models: Examples of how to use the various LLMs and embedding models from many providers