-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit bb7b1cc
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## Introduction | ||
The world of artificial intelligence (AI) is evolving day by day, and LangChain is attracting a lot of attention. LangChain is a framework for streamlining application development using large-scale language models (LLMs). This article will explain LangChain in detail through 15 chapters, from the basics to applications. | ||
|
||
We will add a new chapter to the article to explain the installation of LangChain. Below is a proposal for a new chapter that fits the existing article structure: | ||
|
||
|
||
## Introduction 2. Installing and configuring LangChain | ||
To use LangChain, you must first properly install it and configure the environment. Below we will explain the installation steps and basic environment settings. | ||
|
||
LangChain can be easily installed using pip, a Python package manager, by running the following command: | ||
``` | ||
pip install langchain | ||
``` | ||
If you use the OpenAI API, please also install the following packages: | ||
``` | ||
pip install openai | ||
``` | ||
|
||
Setting environment variables | ||
When using LangChain, especially when using external APIs, you need to set the appropriate environment variables. For example, to set your OpenAI API key: |