Forked from https://github.com/BenGardiner123/langchainjs-typescript
- Create .env file with open ai key using .env.sample file
- To create your own open ai key 2.1 Create account on https://platform.openai.com/ 2.2 Go to https://platform.openai.com/account/api-keys 2.3 Create on create new secret key and then save it 2.4 Provide the same key inside .env file in the variable OPENAI_API_KEY
npm install
npm run dev