Skip to content

Latest commit

 

History

History
 
 

12-langchain-bots

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

LangChain Bots

Two automated AI tools to generate emails and search Wikipedia with LangChain.

Setup

You need to create a virtual env and install the packages listed in requirements.txt.

Follow these steps: How to Work with Python Virtual Environments, Jupyter Notebooks and VS Code.

You need to create a .env file with your OPENAI_API_KEY.

Make sure you have installed langchain and wikipedia.

Usage

Email Generator

To run the tool:

cd 12-langchain-bots
python3 email_generator.py

Provide the content, the customer name and your name.

Wikipedia Search Tool

To run the tool:

cd 12-langchain-bots
python3 wikipedia_search.py

Describe what you need to find.

Features

Based on ChatGPT - The Complete Guide to ChatGPT & OpenAI APIs by Maximilian Schwarzmüller (2023).