Welcome to the LangChain Tech-Talk! In this guide, you'll find instructions on how to set up and run the demo scripts that will accompany our presentation. By following these steps, you'll be able to see firsthand the power and utility of LangChain in action.
Before getting started, ensure you have the following installed:
- Node.js
- npm (usually comes bundled with Node.js)
- Valid OpenAI api key
If you haven't already, begin by cloning the repository:
- git clone https://github.com/alainkaiser/langchain-talk.git
- cd "langchain-talk"
Install all dependencies via npm i
Create a .env file in the root directory of the project. This file will hold your secret API key for OpenAI. Add the following line to the file:
OPENAI_API_KEY=your_openai_api_key_here
Once you've set up the .env file, you can run any of the provided Node scripts using:
node <script-name>