You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## What is an LLM React Node App Javascript Template?
14
17
15
18
This template is an example project for a simple Large Language Model (LLM) application built on top of React and Node. This template was built on top of [the React template app from nano-react-app](https://github.com/nano-react-app/template-js) and updated with a Node server that uses [LangChain.js](https://github.com/hwchase17/langchainjs) to connect to supported large language models, e.g. OpenAI and Hugging Face. Use this template to easily build and run an LLM app, like the screenshot below:
16
19
17
-

20
+

18
21
19
22
These are the available commands:
20
23
@@ -26,8 +29,13 @@ These are the available commands:
26
29
27
30
## Getting Started
28
31
29
-
To get started, create a `.env` file by copying the `SAMPLE_env` file. Then, add your Open API key to the file.
30
-
Now you are ready to run the server and the web app.
32
+
To get started, follow the below steps:
33
+
34
+
1. Create an `.env` file by copying the `SAMPLE_env` file and add API keys for the models you are going to use
35
+
1. Install packages
36
+
1. Run the backend and frontend servers
37
+
38
+
For more thorough step-by-step instructions follow [this tutorial on running an LLM React Node app](https://blog.golivecosmos.com/build-an-llm-app-with-node-react-and-langchain-js/).
0 commit comments