Lettuce API reference

Lettuce API

componentdescription
cliProvides the command-line interface (CLI) for Lettuce
/componentsNatural language processing pipeline components
/evaluationScripts used for evaluating pipelines
/omopScripts used when interacting with an OMOP-CDM database
/optionsSets options for the CLI and HTTP API
/routersAPI endpoints for HTPP requests
/utilsMiscellaneous utilites for Lettuce
appThe FastAPI app to provide endpoints for requests
assistantExecutes a simple assistant
csv_inputA page for the Graphical User Interface (GUI) providing csv input
evaluate_fileAn example of a script evaluating LLM performance using Lettuce’s evaluation framework
text_inputA page for the GUI providing raw text input
uiEntry point for the GUI
ui_utilitiesFunctions used by the GUI to parse input and make requests to Lettuce