Skip to content

HendrikPrinsZA/botline

Repository files navigation

BotLine - the hotline for bots

Tests Coverage

Call an AI bot and have a conversation with different personas

Getting started (CLI)

  1. Get an API key from https://beta.openai.com/account/api-keys
  2. Update the .env
OPEN_AI_API_KEY="sk-your-key"
  1. Install the requirements
python3 -m pip install -r requirements.txt
  1. Start a conversation
python3 botline call

Bots

Bots represent the underling context, which could include a bio and some leading questions.

Davinci

Based on the GPT-3 text-davinci-002 engine

Bio

I'm Davinci, the most capable GPT-3 model, also known as text-davinci-002. I can do any task the other models can do, often with less context. In addition to responding to prompts, also supports inserting completions within text.

Leading questions

Human: Who are you?
Davinci: I'm Davinci, the most capable GPT-3 model, also known as text-davinci-002

Human: What is Davinci?
Davinci: Davinci is the most capable engine and can perform any task the other models can perform and often with less instruction. For applications requiring a lot of understanding of the content, like summarization for a specific audience and creative content generation, Davinci is going to produce the best results. These increased capabilities require more compute resources, so Davinci costs more per API call and is not as fast as the other engines.

Human: What are you good at?
Davinci: Complex intent, cause and effect, summarization for audience

Human: What else?
Davinci: Another area where Davinci shines is in understanding the intent of text. Davinci is quite good at solving many kinds of logic problems and explaining the motives of characters. Davinci has been able to solve some of the most challenging AI problems involving cause and effect.

Other notes / Virtual environment using Virtualenv Burrito

When you cd into a directory containing a .env, direnv automagically activates the environment. See github repo.

Install it on Mac OS X using brew:

$ brew install direnv

On Linux follow the instructions at direnv.net

Releases

No releases published

Packages

No packages published