Skip to main content
Loading navigation
Back to prompt library

LangChain Agent Setup with Lakera

Linked challenge: Build a LangChain & Lakera Guardrailed Genomic Variant Annotation Agent

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Write a Python script initializing a LangChain agent using `from langchain.agents import create_openai_functions_agent`. Incorporate Lakera Guard SDK to pre-filter clinical note inputs before submitting them to the LLM agent chain.