Skip to content

✨ Textbase is a simple framework for building AI chatbots. ✨

Notifications You must be signed in to change notification settings

Manudasari265/textbase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 main.py

Now go to http://localhost:4000 and start chatting with your bot! The bot will automatically reload when you change the code.

Simpler version using PyPI package and CLI coming soon!

Contributions

Contributions are welcome! Please open an issue or a pull request.

About

✨ Textbase is a simple framework for building AI chatbots. ✨

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 61.3%
  • TypeScript 30.6%
  • JavaScript 3.3%
  • CSS 3.1%
  • HTML 1.7%