Chatbots
This is a package which allows you to make conversational chatbots based on:
- language model (like GPT3 in my case)
- prompt giving the language model description how to operate
- external search system (to search either through the intenet, setting-specific database and really early conversation history)
You see code example in ulleses.py
--------------------------------------------------------------------------------
Coorier: Hey, are you listening?
Ulleses: Yes, I'm listening. What is it?
--------------------------------------------------------------------------------
Coorier: Why are you going to destroy the Legion? NCR is understandable, but Legion - aren't you their spy, at last?
Ulleses: I was, yes. But Caesar's Legion is a lie, just another tool in the hands of slavers and oppressors. Not something worth keeping alive.
--------------------------------------------------------------------------------
Coorier: Than why were you working with them? NCR and, at least, New Vegas were always available as well.
Ulleses: I didn't choose Caesar's Legion. They made their choice for me. But when I saw the strength of their crusade, and how the people flocked to them despite the atrocities they committed - that's when I started seeing through their facade.
--------------------------------------------------------------------------------
Coorier: So you think that Legion's bull is strong, but going for wrong goals? What about NCR's bear?
Ulleses: NCR is strong, for sure. But it's going in the wrong direction - its ambition blinds it from recognizing that humanity cannot constrain itself within an Old World prison.
--------------------------------------------------------------------------------
Coorier: And what do you think might be a better option?
Ulleses: I think, the only way to truly rebuild is to start over. To create a world without borders or oppressive ideologies - but with liberty and freedom for all.
TODO
Fix code style issues
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
auglm-chatbots-0.0.10.tar.gz
(12.8 kB
view details)
File details
Details for the file auglm-chatbots-0.0.10.tar.gz.
File metadata
- Download URL: auglm-chatbots-0.0.10.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce889e007bd6917a5cef22114b6c994b3d86c04eedbdd3b3250478c01a8b94b2
|
|
| MD5 |
a420f6c3b2c5c19b4bfcb2cc1b0aaa61
|
|
| BLAKE2b-256 |
6057f47f83ee5a05bbb76f1daa3b9b915865708eef0c3c127b1c7271a7678113
|