Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denise-pl/eliza
ELIZA - Workshop (Natural Language Processing)
https://github.com/denise-pl/eliza
chatbot eliza nlp pyscript workshop
Last synced: 8 days ago
JSON representation
ELIZA - Workshop (Natural Language Processing)
- Host: GitHub
- URL: https://github.com/denise-pl/eliza
- Owner: denise-pl
- License: bsd-3-clause
- Created: 2022-04-18T14:34:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-18T08:45:04.000Z (12 months ago)
- Last Synced: 2024-11-06T15:29:13.617Z (about 2 months ago)
- Topics: chatbot, eliza, nlp, pyscript, workshop
- Language: Python
- Homepage: https://szymonjessa.com/eliza/
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ELIZA - Workshop
Files used for Natural Language Processing Workshop inspired by Joseph's Weizenbaum work from year 1966: [ELIZA - A Computer Program For the Study of Natural Language Communication Between Man and Machine](https://web.stanford.edu/class/linguist238/p36-weizenabaum.pdf).
## How to run
Start chat in the console:
```
python console_client.py
```See an example conversation:
```
python console_client.py --demo
```To get more details in the output add '-v' or '-vv' or '-vvv':
```
python console_client.py -v
```Start chat in the browser:
```
python web_client.py
```It is possible to create custom chatbots and make them talk to each other in a multi-agent chat (the code below will create 5 agents, of which three are using default 'eliza' identity and two are custom, user defined identities):
```
python console_client.py eliza ./my_custom_chatbot.py ./my_second_custom_chatbot.py eliza eliza
```To create a custom identity, based on the ELIZA algorithm, you may use the [identity_template_eliza.py](identity_template_eliza.py) file.
To create a custom identity, based on a different algorithm, you may use the [identity_template.py](identity_template.py) file.
To chat with the custom identity, just pass the path to it as argument:
```
python console_client.py ./my_custom_chatbot.py
```# Feedback & ideas
szymon [dot] denise [ at ] gmail [ dot ] com
# License
Copyright (c) 2017-2023, Szymon Jessa
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree.