Examples
RAG (retrieval-augmented generation)

How decisions work in OmniChain

OmniChain integrates LanceDB to allow native RAG applications without having to call any external systems.

The components you use are quite simple:

  • Embeddings nodes (available in Ollama and OpenAI formats) to generate embeddings.
  • LanceDB nodes to create tables, add data, and query the database.

Example chain - RAG with LanceDB

Import the RAG example from: examples/chains/rag_lancedb.json.

This example demonstrates the usage of LanceDB to create a simple RAG-powered chatbot that can consume an arbitrary number of documents and keep answering questions.

Video Tutorial