Skip to content

An example of how to set your ๐Ÿฆœ๐Ÿ”— LangChainJS application up to enable deployment on Kinsta App Hosting services.

Notifications You must be signed in to change notification settings

kinsta/hello-world-langchainjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Kinsta - Hello World - LangChainJS

An example of how to deploy an Express application with LangChainJS on Kinsta App Hosting services.


Kinsta is a developer-centric cloud host / PaaS. Weโ€™re striving to make it easier for you to share your web projects with your users. Focus on coding and building, and weโ€™ll take care of deployment and provide fast, scalable hosting. + 24/7 expert-only support.

Dependency Management

During the deployment process Kinsta will automatically install dependencies defined in your package.json file.

Web Server Setup

Environment Variables

โ„น๏ธ OpenAI models

In this example, we chose OpenAI's models for the sake of simplicity, but you're free to choose the models you prefer as LangChain provides support for other models as well. In that case, we recommend you remove the OPENAI_API_KEY environment variable and the relevant application code.

To ensure your successful deployment, set the following environment variables:

# Get it from https://platform.openai.com/account/api-keys
OPENAI_API_KEY=<YOUR_API_KEY>

What is LangChain

LangChain framework is intended to develop language model-powered applications that are data-aware, agentic, and differentiated. More information is available on the LangChain website.

About

An example of how to set your ๐Ÿฆœ๐Ÿ”— LangChainJS application up to enable deployment on Kinsta App Hosting services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published