An open API service indexing awesome lists of open source software.

https://github.com/jonfairbanks/agichain

BabyAGI + LangChain w/ Tools
https://github.com/jonfairbanks/agichain

agi babyagi langchain langchain-python

Last synced: 2 months ago
JSON representation

BabyAGI + LangChain w/ Tools

Awesome Lists containing this project

README

          

# agichain

![agichain](sample.png)

BabyAGI + LangChain w/ Tools

### Prerequisites
- An [OpenAI](https://openai.com) API key
- A [SerpAPI](https://serpapi.com) API key

### Setup

Set API key values in .env

Install dependencies:
```
pipenv shell
pipenv install
```

### Usage

**Warning: Using this script can be very expensive!**
```
python index.py "What is the weather expected to be like this weekend in San Jose, CA?"
```

You can also save the output of your run to a text file.
```
python index.py "What is the weather expected to be like this weekend in San Jose, CA?" 2>&1 | tee output.txt
```