Lettuce documentation
GitHubGitHub
  • Lettuce
  • Lettuce Quickstart
  • Database Quickstart
  • Deploying Lettuce
  • Lettuce API Reference
    • API
    • CLI
    • UI
    • API models
      • Requests
      • Responses
    • Components
      • Embeddings
      • Models
      • Pipeline
      • Prompt
      • Result
    • OMOP
      • Database Manager
      • OMOP match
      • OMOP models
      • OMOP queries
      • Preprocess
    • Options
      • Base Options
      • Pipeline Options
    • Routers
      • Search Routes
    • utils
      • Logging Utils
      • Utils
  • Branding
Question? Give us feedback →Edit this page
Lettuce API ReferenceComponents

components

Vector search and LLM components for pipelines

componentdescription
embeddingsA class for handling vector search
modelsMaking an interface for LLM inference
pipelineA class for running LLM and RAG pipelines
promptPrompt builders for LLM
resultA class to hold results from different stages of a pipeline
ResponsesEmbeddings

© 2025 University of Nottingham
MIT licence