Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/palmiak/python-lib


https://github.com/palmiak/python-lib

Last synced: 13 days ago
JSON representation

Awesome Lists containing this project

README

        

![Langchain](https://github.com/palmiak/python-lib/assets/2342458/6a559422-7d76-4346-978a-f2e714679b43)
# Kinsta - Hello World - LangChain

An example of how to deploy a Flask application with [LangChain](https://python.langchain.com/en/latest/index.html) 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.

- [Start your free trial](https://kinsta.com/signup/?product_type=app-db)
- [Application Hosting](https://kinsta.com/application-hosting)
- [Database Hosting](https://kinsta.com/database-hosting)

## Dependency Management

During the deployment process Kinsta will automatically install dependencies defined in your `requirements.txt` file.

## Web Server Setup

### Build Environment

When deploying your LangChain app, make sure to choose Dockerfile method as your build environment.

### Environment Variables

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

```bash
# Get it from https://platform.openai.com/account/api-keys
OPENAI_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](https://python.langchain.com/en/latest/index.html) website.