postfix / forestOfThoughts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forestOfThoughts

Some simple python scripts highlighting:

  1. How LangChain can be used to decorate LLM queries with Tree of Thoughts prompts
  2. How multiple models of the same type, but with different parameters and different ToT decorators, can be combined to yeild better ToT outcomes 'monoculture'
  3. How different models of different types can be combined to yield more diverse outcomes 'polyculture'

The code in this repo is based om the content of videos: https://youtu.be/y6SVA3aAfco

in this playlist: https://www.youtube.com/playlist?list=PLaJCKi8Nk1hwZcuLliEwPlz4kngXMDdGI

About


Languages

Language:Python 100.0%