diff --git a/docs/deployments.md b/docs/deployments.md new file mode 100644 index 00000000000..fd661717141 --- /dev/null +++ b/docs/deployments.md @@ -0,0 +1,24 @@ +# Deployments + +So you've made a really cool chain - now what? How do you deploy it and make it easily sharable with the world? + +This section covers several options for that. +Note that these are meant as quick deployment options for prototypes and demos, and not for production systems. +If you are looking for help with deployment of a production system, please contact us directly. + +What follows is a list of template GitHub repositories aimed that are intended to be +very easy to fork and modify to use your chain. +This is far from an exhaustive list of options, and we are EXTREMELY open to contributions here. + +## [Streamlit](https://github.com/hwchase17/langchain-streamlit-template) + +This repo serves as a template for how to deploy a LangChain with Streamlit. +It implements a chatbot interface. +It also contains instructions for how to deploy this app on the Streamlit platform. + +## [Gradio (on Hugging Face)](https://github.com/hwchase17/langchain-gradio-template) + +This repo serves as a template for how deploy a LangChain with Gradio. +It implements a chatbot interface, with a "Bring-Your-Own-Token" approach (nice for not wracking up big bills). +It also contains instructions for how to deploy this app on the Hugging Face platform. +This is heavily influenced by James Weaver's [excellent examples](https://huggingface.co/JavaFXpert). diff --git a/docs/index.rst b/docs/index.rst index 4b836c585b2..124e1153f93 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -141,6 +141,8 @@ Additional collection of resources we think may be useful as you develop your ap - `Gallery <./gallery.html>`_: A collection of our favorite projects that use LangChain. Useful for finding inspiration or seeing how things were done in other applications. +- `Deployments <./deployments.html>`_: A collection of instructions, code snippets, and template repositories for deploying LangChain apps. + - `Discord `_: Join us on our Discord to discuss all things LangChain! @@ -152,3 +154,4 @@ Additional collection of resources we think may be useful as you develop your ap ./glossary.md ./gallery.rst + ./deployments.md