Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/malexer/discussion-bots
Experimenting with the OpenAI API for Multi-Bot Discussions.
https://github.com/malexer/discussion-bots
Last synced: 3 days ago
JSON representation
Experimenting with the OpenAI API for Multi-Bot Discussions.
- Host: GitHub
- URL: https://github.com/malexer/discussion-bots
- Owner: malexer
- License: mit
- Created: 2024-05-19T14:57:02.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-27T17:15:28.000Z (6 months ago)
- Last Synced: 2024-05-28T01:36:53.599Z (6 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discussion-bots
Experimenting with the OpenAI API for Multi-Bot Discussions.
## Description
This repository contains a Python application that simulates a chat
between multiple bots using OpenAI's GPT models. The bots take turns
to talk in a chat session.Check the prompt in the `discussion_bots.prompt` module.
## Usage
To run the application, do the following:
1. Define required environment variables. e.g. by setting them in a `.env` file:
```shell
OPENAI_API_KEY=
OPENAI_ORG_ID=
OPENAI_PROJECT_ID=
```2. Create and activate virtual environment.
3. Install the dependencies: `poetry install`
4. Run the application: `poetry run python main.py`## Requirements
- Python 3.12
- poetry