Git Product home page Git Product logo

022024ai's Introduction

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 Updated 07-07-2024 uploaded langchain script to use ollama "llama3", Also another script to use ollama + llama3 + tavily internet search via langchain

#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

022024ai's People

Contributors

rsfl avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.