Skip to content

gregapostle/langchain-chatbot-guardrails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ LangChain Chatbot with Guardrails

A secure chatbot built with LangChain + OpenAI that detects and blocks prompt injection attempts using rule-based guardrails.

💡 Features

  • LLM chatbot with memory
  • Simple keyword-based red team filter
  • Logging of blocked attempts
  • CLI interface (Streamlit version coming soon)

🚧 Coming Soon

  • Output validation
  • Guardrails.ai or LLM-based detectors
  • Streamlit UI

▶️ Run Locally

pip install -r requirements.txt
python chatbot_with_guardrails.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages