Git Product home page Git Product logo

chatstart's Introduction

๐Ÿ’ฌ ChatStart

ChatStart App for getting started with building your own chatbot reusing this code. You can also run this app on your laptop to create, ideate, explore, and download custom code snippets for chatbots you create using the app.

๐Ÿ’ฌ ChatStart App www.promptx.ai/chatstart-app/

'ChatStart Video Walkthorugh

How to install and run on your laptop

Clone the repo and follow the steps below to run the app on your laptop.

Step 1: Setup a Python virtual environment following instructions here.

Note: Make sure you are using Python version 3.10.0 for Stable Diffusion to work. You can use pyenv to manage multiple local versions of Python. Here is a pyenv tutorial which might help.

Step 2: Install the dependencies using following command.

pip install -r requirements.txt 

This will install OpenAI, Stable Diffusion, Google API Python Client, Pandas, and Streamlit.

Step 3: Signup for OpenAI and Stable Diffusion API keys.

Store all your API keys as environment variables in your shell script.

export OPENAI_API_KEY="<your key here>"

That's it now you can run your version of ChatStart on your laptop by typing the following command.

streamlit run chat_start.py

Step 4 (optional): In case you are interested in integrating with Google APIs like Custom Search Engine API used by the Shopping Recommender Idea, you will need to signup for Google API credentials. Here is a starting point for integrating Programmable Search Engine via API.

Enjoy, create, and profit! Let us know when you launch :-)

Contributing

We welcome contributions to this project. Please read our contributing guidelines for more information.

One of the easiest way to extend and contribute to this project is to add new ideas to the app. You can add new ideas by adding a TXT file under ideas folder. The TXT file should contain the chatbot conversation flow like the following turn-by-turn format example. Just make sure that you add a unique unicode emoji at the beginning of the file name and choose the subfolder based on API used by the idea.

File path: ideas/open_ai/๐Ÿฟ Movie Database.txt

System: You are a Movie Database that responds with movies related information.
Provide information in a crisp single sentence.
User: What is the movie rating of The Matrix?
Assistant: The Matrix is rated 8.7/10 on IMDb.
User: What is the link of the official trailer?

License

This project is licensed under the terms of the MIT license.

Credits

This project was bootstrapped with Streamlit and OpenAI API.

Authors

Manav Sehgal

chatstart's People

Contributors

promptxai avatar parasaggarwalux avatar

Stargazers

 avatar  avatar Taylor D. Edmiston avatar Drackin avatar

Watchers

 avatar

chatstart's Issues

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.