ruankie / langchain-play

Easy set up template with examples to play around with Langchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Repo stars

πŸ¦œπŸ”—πŸ‘Ύ langchain-play

This repo can be used as a template to easily set up LangChain. LangChain is a framework for developing applications powered by language models.

You can find some examples here for getting up to speed with the basics of LangChain.

πŸ—οΈ Under construction. More coming soon...

Prerequisites

  1. 🐍 You will need a working install of conda.
  2. πŸ”‘ You will need an API key from OpenAI. You can create one for free here.

Usage

  1. Set up your API keys in a file called .env (see .env.example for an example)
  2. Set up and activate conda environment
    conda env create -f conda.yml
    conda activate langchain
  3. Check out the examples:
    • Notebooks at ./notebooks/
    • Scripts at ./src/

Useful Resources

About

Easy set up template with examples to play around with Langchain

License:MIT License


Languages

Language:Jupyter Notebook 98.5%Language:Python 1.5%