Skip to content

sooch27/LangChain-Tutorials

 
 

Repository files navigation

Project 6: LangChain Coonstitutional AI to Try Prevent Prompt Hacking in LLM Apps

This notebook guides you through using Constitutional AI chain in LangChain for the purpose of trying to protect your LLM App from malicious hackers and malicious prompt engineerings.

The implimentation of unified objectives is based on this paper:

Watch the YouTube Tutorial Video

LangChain Constitutional AI Explained

Project 5: LangChain Pinecone OpenAI - Query Multiple PDF Files and Cite Sources

This notebook guides you through the basics of loading multiple PDF file externally into Pinecone as embeddings(vectors).

It also guides you on the basics of querying your custom PDF files data to get answers back (semantic search) from the Pinecone vector database, via the OpenAI LLM API. We walk through 2 approaches, first using the RetrievalQA chain and the second using VectorStoreAgent

Using LLMs to query your own data is a powerful application to become operationally efficient for various tasks requiring looking up large documents.

Watch the YouTube Tutorial Video

As promised, these are the links to the Generative AI Whitepapers from KPMG, Accenture, McKinsey

Project 4: OpenAI-Functions-Calling-with-LangChain - Simple Weather Bot

Explore OpenAI's Function Calling API using LangChain. Simple Weather Bot using LangChain and OpenAI API. This feature is big because it opens up the portal to be able to call vendor tools and custom tools from your LLM app/bots in a more reliable manner.

Watch the YouTube Tutorial Video

OpenAI Function Calling Thumbnail

Project 3: LangChain Pinecone OpenAI - Query Single PDF or TXT File - Basics

This notebook guides you through the basics of loading a custom TXT and a PDF file externally into Pinecone as embeddings(vectors).

It also guides you on the basics of querying your custom TXT/PDF file to get answers back (semantic search) from the Pinecone vector database, via the OpenAI LLM API.

Using LLMs to query your own data is a powerful application to become operationally efficient for various tasks requiring looking up large documents.

Watch the YouTube Tutorial Video

Here is the link to the Scale AI Readiness Report : https://go.scale.com/hubfs/Scale-Zeitgeist-AI-Readiness-Report-2023.pdf Link to public domain tex of The Wonderful Wizard of Oz: https://www.gutenberg.org/ebooks/55

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%