Skip to content

Project dedicated to explore the capabilities of LLMRouterChain

Notifications You must be signed in to change notification settings

gilfernandes/router_chain_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LangChain Router Chain Playground

This simple project shows how you can use LLMRouterChain to simulate different roles which are selected dynamically during your interaction with the LLM depending on your question.

It also contains a good example of a file based callback handler which you can use to save content to a text or HTML file.

Conda install commands

conda create --name langchain python=3.10
conda install -c conda-forge openai
conda install -c conda-forge langchain
conda install -c https://conda.anaconda.org/conda-forge prompt_toolkit

Execution

python ./lang_chain_router_chain.py

About

Project dedicated to explore the capabilities of LLMRouterChain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published