Skip to content

iandennismiller/babyagi4all-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BabyAGI4All

A small autonomous AI agent based on BabyAGI by Yohei Nakajima.

Originally made to work with GPT4ALL on CPU by kroll-software here. This is a small fork to make it compatible with the API from oobabooga's web interface.

100% open source, 100% local, no API-keys needed.

Installation:

Prerequisite: Install https://github.com/oobabooga/text-generation-webui.

  1. Clone this repository
  2. Install the requirements: pip install -r requirements.txt
  3. Edit the file .env to reflect your host name, port, and desired goal for the agent. There are other parameters as well.

Now, start up oobabooga's ui with the --api option. It should be listening on host "localhost" and port "5000" by default, meaning if you haven't changed anything about the config, you probably don't have to change those fields in .env. You also have to load a model; you can do this by just going to the web ui normally, or by passing the --model argument to server.py.

Then run python babyagi.py

Seriously all credits to kroll-software, all I did was plug it into Ooba's api :)

About

BabyAGI to run with locally hosted models using the API from https://github.com/oobabooga/text-generation-webui

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%