Giter VIP home page Giter VIP logo

cpal-llm-chain-demo's Introduction

Plan as Narrative, Test as Code

Leverage an LLM to make community planning better.

Objective

Here I introduce a new approach to making a plan. The approach leverages the new advances in Large Language Models (LLMs) to translate a narrative chain of dependencies into code. The approach also highlights my prompt-engineering contribution to the LangChain open-source libray called the Causal Program-aided Language (CPAL) LLM chain. This implementation of CPAL is purely conceptual.

Usage

  • User A writes causal narrative to define a plan or more formally a work-breakdown-structure (WBS).
  • The LLM translates User A's causal narrative of the plan into code.
  • A teammate User B writes a hypothetical question of her speculated change to the original plan.
  • The LLM translates User B's question into a query.
  • The application runs the query and generates a report on the impact of User B's speculated plan change on the plan's outcomes.

Research questions

  • Is there public data to make a prototype of this concept app?
  • How can we add time as a parameter for each work span, and total time as an outcome?
  • How can we add cyclic dependencies?
  • What optimization code already exists to help a planner?
  • Geo-spatial queries and impact analysis?
  • Time and cost and ROI optimizations?

References

  • Extend the my CPAL experimental work in LangChain, LangChain PR here.
  • LangChain's tweet on the CPAL is here

Cool stuff by others

cpal-llm-chain-demo's People

Contributors

borisdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.