diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..1d45060 --- /dev/null +++ b/readme.md @@ -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: