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

app

source

The api.py script starts a Lettuce server. Instructions for its use can be found in “Deploying Lettuce”.

The app runs a FastAPI service. Details of the API’s endpoints can be found in routers.

All of the endpoints use settings detailed in the PipelineOptions object.

Lettuce API ReferenceAPI models

© 2025 University of Nottingham
MIT licence