Skip to content
  • Sponsor
  • Notifications You must be signed in to change notification settings
  • Fork 12

Files

Latest commit

2eaa56c · Jun 17, 2023

History

History
44 lines (26 loc) · 1.1 KB

File metadata and controls

44 lines (26 loc) · 1.1 KB

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).