Files
LlamaIndexTS/examples
github-actions[bot] 38487da65d Release 0.11.23 (#2136)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcusschiesser <17126+marcusschiesser@users.noreply.github.com>
2025-07-28 14:07:23 +08:00
..
2025-07-22 12:18:09 +08: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-07-22 12:18:09 +08:00
2025-05-12 14:16:47 +07:00
2025-03-31 17:21:19 +07:00
2025-07-28 14:07:23 +08:00
2025-05-26 16:49:45 +07:00
2025-07-28 14:07:23 +08: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