Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.99 KB

File metadata and controls

20 lines (13 loc) · 1.99 KB

Working with Langchain

Requirements

To work with those examples you will need a Hugging Face Text Generation Inference server deployed, and a model served.

You can either install Langchain and its dependencies in your workbench (pip install langchain), or you can directly use a pre-built custom Workbench image that comes with everything needed: quay.io/opendatahub-contrib/workbench-images:cuda-jupyter-langchain-c9s-py311_2023c_latest.

Ref: How to import a custom notebook image

If you want to create your own custom image, with a different IDE like VSCode for example, you will find instructions here.

Content