Two automated AI tools to generate emails and search Wikipedia with LangChain.
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
.
To run the tool:
cd 12-langchain-bots
python3 email_generator.py
Provide the content, the customer name and your name.
To run the tool:
cd 12-langchain-bots
python3 wikipedia_search.py
Describe what you need to find.
Based on ChatGPT - The Complete Guide to ChatGPT & OpenAI APIs by Maximilian Schwarzmüller (2023).