Example Notebook
LLMChecker Chain
Links Used: LLMChain
Notes: This chain takes user input (a question), uses an LLM chain to answer that question, and then uses other LLMChains to self-check that answer.
Example Notebook
LLMRequests Chain
Links Used: Requests, LLMChain
Notes: This chain takes a URL and other inputs, uses Requests to get the data at that URL, and then passes that along with the other inputs into an LLMChain to generate a response. The example included shows how to ask a question to Google - it firsts constructs a Google url, then fetches the data there, then passes that data + the original question into an LLMChain to get an answer.
Example Notebook
Moderation Chain
Links Used: LLMChain, ModerationChain
Notes: This chain shows how to use OpenAI’s content moderation endpoint to screen output, and shows how to connect this to an LLMChain.
Example Notebook
previous
Transformation Chain
next
API Chains
By Harrison Chase
    
      © Copyright 2023, Harrison Chase.
      
  Last updated on Mar 22, 2023.