Skip to content

tobus3000/digital-pub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

digital-pub

Throw in a question and let the robots discuss it

Overview

The pub.py script allows you to have a few robots discuss any topic you throw at them.

Requirements

This is using the openai library, so you'll either need a subscription at openai or you install something locally, like LM Studio..

  • LM Studio
    • Download a model. I use: TheBloke - Mistral-7B-Instruct-v0.2-GGUF - mistral-7b-instruct-v0.2.Q3_K_M
    • Run server in LM Studio. This exposes a local endpoint that uses port 1234 by default.
  • Python package: openai >= 1.12.0

Usage

& C:/Python310/python.exe ./pub.py --help
usage: pub.py [-h] --topic TOPIC [--type {quiz,talk}]

Run a Digital Pub

options:
  -h, --help          show this help message and exit
  --topic TOPIC       Topic of the day or question for pub quiz.
  --type {quiz,talk}  Can be either `quiz` or `talk`. In quiz mode, each robot gives one response before the program ends. Talk mode will be endless until you stop by pressing Ctrl C.

About

Throw in a question and let the robots discuss it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages