Jacobify / chat-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table of Contents

Introduction

This is a sample set of code from my 'Innovation CoPilot', which I built for the Innovation practice area of the Boston Consulting Group. Much of the code has been redacted and simplified in order to provide a simple 'starter' chatbot from which you can build a more complex chatbot for your use case!

The full article with additional details and context can be found here: https://medium.com/@gbouslov/from-zero-to-genai-chatbot-hero-29b1f45f6542

Prerequisites

  • Python (latest version)
  • Visual Studio Code or any code editor of your choice

Usage

This chatbot can be accessed at https://sample-genai-chatbot.streamlit.app/

If you'd like to create your own version of it:

  1. Clone this repository
  2. Make your desired changes
  3. Create a Streamlit Cloud account and connect it to your github using the instructions here: https://streamlit.io/cloud
  4. Host your chatbot and access it at the link of your choosing

Features

This version of the Innovation CoPilot is sanitized and includes four files: main.py, helper_functions.py, index_functions.py, setup_st.py

Using this template and the article contents, you'll be able to: -Create a Generative AI Chatbot -Customize UI/UX via Streamlit -Add additional complex functionalities including indexing, user configuration, multi-stage prompts, appending relevant materials, multi-page apps, and more

Contributing

If you'd like to contribute to this open source project, please do so by following these instructions:

  1. Fork this repository
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

Feel free to reach out with any thoughts or questions to me on Twitter(https://twitter.com/gab3ski) or LinkedIn(https://www.linkedin.com/in/gabrielbouslov/)

License

This project is open-source, feel free to leverage the repository for your use cases and build onto it as you wish.

About


Languages

Language:Python 100.0%