Add OpenAI conversational model
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
24
README.md
24
README.md
@@ -1,4 +1,26 @@
|
||||
# admina
|
||||
|
||||
A Facebook messenger bot powered by OpenAI and Stable Diffusion.
|
||||
A Facebook messenger bot powered by OpenAI and Stable Diffusion. Designed to provide intelligent and human-like conversations with users.
|
||||
|
||||
## Running
|
||||
|
||||
You can easily run the bot by using [Docker](https://www.docker.com/). You can also run it without Docker, but you will need to install the dependencies manually.
|
||||
|
||||
```bash
|
||||
docker-compose build
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
`docker-compose.yml` references an `.env` file that contains the environment variables:
|
||||
|
||||
| Variable | Description |
|
||||
| ---------------- | ---------------------------------------------------------------- |
|
||||
| `FB_EMAIL` | Facebook email address |
|
||||
| `FB_PASSWORD` | Facebook password |
|
||||
| `FB_COOKIE_PATH` | Path to saved Facebook cookies (default: /app/data/session.json) |
|
||||
| `MONGO_HOST` | MongoDB host (default: db) |
|
||||
| `MONGO_PORT` | MongoDB port (default: 27017) |
|
||||
| `MONGO_USERNAME` | MongoDB username (default: admina) |
|
||||
| `MONGO_PASSWORD` | MongoDB password (default: admina) |
|
||||
| `MONGO_DB` | MongoDB database name (default: admina) |
|
||||
| `OPENAI_API_KEY` | OpenAI API key |
|
||||
|
Reference in New Issue
Block a user