Skip to main content
Loading navigation

LangChain Agent Setup with Lakera

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.