A python library to help you create chatbots easily with some more configurations
Project description
Textbase
✨ Textbase is a framework for building chatbots using NLP and ML. ✨
Just implement the on_message
function in main.py
and Textbase will take care of the rest :)
Since it is just Python you can use whatever models, libraries, vector databases and APIs you want.
Coming soon:
- PyPI package
- SMS integration
- Easy web deployment via
textbase deploy
- Native integration of other models (Claude, Llama, ...)
Installation
Clone the repository and install the dependencies using Poetry (you might have to install Poetry first).
git clone https://github.com/cofactoryai/textbase
cd textbase
poetry shell
poetry install
Start development server
If you're using the default template, remember to set the OpenAI API key in
main.py
.
Run the following command:
poetry run python textbase/textbase_cli.py test
Response:
Path to the main.py file: main.py #Type main.py here
Now go to the link which is shown on the CLI and you will be able to chat with your bot!
Simpler version using PyPI package and CLI coming soon!
Contributions
Contributions are welcome! Please open an issue or a pull request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for textbase_client-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b11e8c856e762aa7603cc2c567d5986ab9745b8b68c48fd57ae16db0fcd1eb26 |
|
MD5 | b6348ab04355b2d29ba17b8e2d4297ba |
|
BLAKE2b-256 | 1a298ad686867cb54c948cf590514977b6c022fa936ad20aee59e9998f629afa |