Giter Site home page Giter Site logo

textbase's Introduction

Textbase python library

Documentation

✨ 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:

Demo Deploy GIF

Installation

Make sure you have python version >=3.9.0, it's always good to follow the docs 👈🏻

1. Through pip

pip install textbase-client

2. Local installation

Clone the repository and install the dependencies using Poetry (you might have to install Poetry first).

For proper details see here

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:

  • if installed locally
    poetry run python textbase/textbase_cli.py test
  • if installed through pip
    textbase-client test

Response:

Path to the main.py file: examples/openai-bot/main.py # You can create a main.py by yourself and add that path here. NOTE: The path should not be in quotes

Now go to the link in blue color which is shown on the CLI and you will be able to chat with your bot! Local UI

Other commands have been mentioned in the documentaion website. Have a look 😃!

Contributions

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

textbase's People

Contributors

kaustubh-cf avatar sammycofactory avatar sidharth-sethi-cofactoryai avatar silasalberti avatar neerajsati avatar mitanshudodia avatar ankushdutt avatar harshs1611 avatar kausmeows avatar missusk avatar gitvishu avatar shephinphilip avatar bharatchhabraai avatar nini0309 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.