Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 745 Bytes

File metadata and controls

23 lines (13 loc) · 745 Bytes

GenAI Starter - Llamaindex - Restack

An example of how to deploy a LangChain application with Streamlit with Restack.


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>