devstein / langchain

⚡ Building applications with LLMs through composability ⚡
MIT License
1 stars 0 forks source link

Chain for generating and running python code #22

Open devstein opened 1 year ago

devstein commented 1 year ago

Feature request

Add capability to generate and run python code using langchain. I created a github repo called code-genie to support this. Here's a starter notebook for it. I want to build that functionality into langchain itself for wider adoption.

Motivation

A lot of data scientists/business analysts are using GPT3.5/4 API to generate code for ad-hoc analysis. But they end up copy pasting code from chatgpt interface into their notebooks and spend time making it work with their own variables.

Your contribution

I can create a PR introducing a chain with does this once I get approval from the maintainers that they are open to merging this feature in.