Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add tutorial notebook for chainguard#78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ericrallen wants to merge1 commit intohuggingface:main
base:main
Choose a base branch
Loading
fromlakeraai:feature/chainguard-notebook

Conversation

ericrallen
Copy link

What does this PR do?

This PR introduces a new tutorial notebook that builds on top of theLangChain RAG Quickstart tutorial to illustrate howindirect prompt injection can happen in RAG applications, and howChainGuard can prevent indirect prompt injection in RAG applications.

ChainGuard is an open-source Python package that provides a simple, reliable way to secure Generative AI applications and agents powered by LangChain from prompt injection, jailbreaks, and other threats with Lakera Guard.

Who can review?

@MKhalusova

ChainGuard is an open-source package that provides a simple, reliable way to secure Generative AI applications and agents powered by LangChain from prompt injection, jailbreaks, and other threats withLakera Guard.This tutorial notebook builds on top of the LangChain RAG Quickstart tutorial to illustrate how indirect prompt injection can happen and how ChainGuard can prevent indirect prompt injection in RAG applications.
@review-notebook-appReview Notebook App
Copy link

Check out this pull request on ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered byReviewNB

@ericrallenericrallenforce-pushed thefeature/chainguard-notebook branch fromc658a72 toad54331CompareApril 10, 2024 18:43
@@ -1,6 +1,7 @@
.vscode
.idea/
.venv/
.env
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I added some notes about using a.env file for the relevant environment variables, so I thought it was pertinent to add.env to the.gitignore, too.

@@ -0,0 +1,526 @@
{
Copy link
Collaborator

@merveenoyanmerveenoyanApr 19, 2024
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Can you replace this with an open-source model instead? It can also be a hosted endpoint at Hugging Face for instance but with an open-source alternative.


Reply viaReviewNB

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@merveenoyanmerveenoyanmerveenoyan left review comments

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@ericrallen@merveenoyan

[8]ページ先頭

©2009-2025 Movatter.jp