Skip to content

rsfl/022024AI

Repository files navigation

02-2024-AI Prompt Engineering 102 Introduction to Langchain Presentation at Hackmiami

These are the files for Prompt Engineering 102 presentation at Hackmiami 02 2024
You will need either VS CODE with python3.10 or Jupyter
clone this repo
You will also need
OpenAI API Keys
HuggingFace API Keys
Tavily API Keys
Replicate API Token
Scripts written in python 3.10.12
There are two pdfs of books you can use with the pdfconvolangchain.py file (The Divine Comedy by Dante Alighieri and The Never Ending Story by Michael Ende)
Due to the amount of requirements I suggest create an environment using venv within the cloned repo (python3 -m venv env;source env/bin/activate;pip install -r requirements.txt)
Updated 03-21-2024 with gpt4all.io + langchain script. This will allow you to run LLM models locally (see gpt4all.io). You will have to download the models then execute them locally
Youtube Presentation recording here [Hackmiami Youtube]https://www.youtube.com/watch?v=QkoX0R-35VQ

#caveat emptor I am junior python coder so my code is probably not pretty
#langchain keeps updating libraries so you may get warnings or deprecation notices in which case you may have to change some code
#By the time you see this code, it might be obsolete already
#questions or comments at rodsoto.net . Feel free create a PR or fork langchainintro

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published